Pay with a wallet
Use an installed EVM wallet, or open Coinbase Wallet through a desktop QR code or mobile handoff.
API Acre verifies the exact x402 price, Base network, recipient, and request before any wallet opens. One successful call costs $0.02 USDC.
API Acre never receives your private key; signing stays inside your wallet.
Connecting opens Coinbase Wallet. It does not sign or pay.
Both routes use this exact verified request and one-call price. Nothing is connected, signed, installed, or paid until you continue.
Use an installed EVM wallet, or open Coinbase Wallet through a desktop QR code or mobile handoff.
Copy a command locked to this endpoint, request, and exact USDC cap. Copying is inert; running it may install the official CLI and pay after its authentication and policy checks.
No ETH gas needed. Connecting does not sign or pay. This EIP-3009 payment needs only the displayed USDC on Base because the facilitator submits settlement. Reject any later prompt that differs from the verified amount or recipient.
Running this command may automatically spend up to $0.02 USDC. npx --yes approves package installation. Use a separate low-value wallet and review the verified request first.
npx --yes awal@latest x402 pay https://apiacre.com/v1/research/us-contract-search \
-X POST \
-d '{"recipient_query":"Palantir USG","start_date":"2024-01-01","end_date":"2026-08-13","minimum_award_amount":1000000,"max_results":5}' \
--max-amount 20000 \
--jsonThe first command checks without paying; running fetch may pay up to the same exact cap.
npx --yes agentcash@latest check https://apiacre.com/v1/research/us-contract-search
npx --yes agentcash@latest fetch https://apiacre.com/v1/research/us-contract-search \
--method POST \
--header 'content-type: application/json' \
--body '{"recipient_query":"Palantir USG","start_date":"2024-01-01","end_date":"2026-08-13","minimum_award_amount":1000000,"max_results":5}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.02U.S. federal contract search returns structured JSON. This example is static; the paid call returns a fresh result and settlement receipt.
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "research.us-contract-search",
"version": "1",
"data": {
"query": {
"recipientQuery": "Palantir USG",
"recipientFieldsSearched": [
"name",
"UEI",
"legacy DUNS"
],
"startDate": "2024-01-01",
"endDate": "2026-08-13",
"minimumAwardAmountUsd": 1000000,
"maximumAwardAmountUsd": null,
"awardTypeCodes": [
"A",
"B",
"C",
"D"
],
"awardScope": "prime contracts",
"sort": "award amount descending",
"maxResults": 5
},
"resultsReceived": 5,
"awardsReturned": 5,
"awardsSkipped": 0,
"hasMore": true,
"awards": [
{
"internalId": 355423040,
"awardId": "W9128Z26FA001",
"recipientName": "PALANTIR USG INC",
"recipientUei": "HNN4F9JZWDY8",
"awardAmountUsd": 545578476.94,
"awardType": "DELIVERY ORDER",
"description": "CDAO MSS TASK ORDER OFF OF CONTRACT W519TC25D0039",
"startDate": "2025-10-15",
"endDate": "2029-05-31",
"lastModifiedAtSource": "2026-05-14 13:09:08",
"awardingAgency": "Department of Defense",
"awardingSubAgency": "Department of the Army",
"fundingAgency": "Department of Defense",
"fundingSubAgency": "Department of the Army",
"generatedInternalId": "CONT_AWD_W9128Z26FA001_9700_W519TC25D0039_9700",
"officialAwardUrl": "https://www.usaspending.gov/award/CONT_AWD_W9128Z26FA001_9700_W519TC25D0039_9700/"
}
],
"sourceMessages": [
"USAspending search dates are limited to records from 2007-10-01 onward."
],
"source": "https://api.usaspending.gov/api/v2/search/spending_by_award/",
"documentation": "https://github.com/fedspendingtransparency/usaspending-api/blob/master/usaspending_api/api_contracts/contracts/v2/search/spending_by_award.md",
"retrievedAt": "2026-08-13T07:00:00+00:00",
"limitations": [
"Recipient search is fuzzy across names, UEIs, and legacy DUNS values; a result does not prove identity, ownership, affiliation, or current status.",
"Award Amount is USAspending's current aggregate award value, not necessarily cash paid, current obligations, revenue, profit, or remaining contract value.",
"Results are prime contracts only, sorted by aggregate award amount, limited to page one and the requested date range, and may be revised or incomplete."
],
"disclaimer": "Public federal procurement evidence for research only; verify the official award record before legal, compliance, credit, investment, or contracting decisions."
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": [
{
"service": "research.lei-entity-search",
"title": "GLEIF legal entity search",
"reason": "Resolve a selected contract recipient against official GLEIF legal-entity records before combining organization evidence.",
"method": "POST",
"path": "/v1/research/lei-entity-search",
"price": "$0.01",
"input_template": {
"legal_name": "$result.data.awards[0].recipientName",
"country_code": "US",
"max_results": 3
},
"use_output": "Run only after selecting the intended award recipient; a name match does not prove that the GLEIF entity and USAspending recipient are the same organization.",
"authorization_required": true
}
]
}
}Connected wallet:
Signing authorizes only the verified amount and recipient for this request. Reject the wallet prompt if anything differs.
The default request is verified automatically. Editing it invalidates the quote and requires this no-payment verification again.
Prefer your own client? Use the official x402 SDK examples. Browser checkout requires an EVM wallet with USDC on Base; command-line buyers require their own separately configured wallet and spending policy.