81trust / 100
Geocode Us
by Delx US Geocode in Weather & location
x402 APIPassing, checked 5 h ago
Address geocoding API for agents: geocode one U.S., Puerto Rico, or U.S. Island Areas address for $0.001 USDC through the public Census Geocoder. Returns approximate coordinates with required Census attribution—no global maps, navigation, or address retention.
POST https://api.delx.ai/api/v1/x402/geocode-us
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 6 ms typical, 6 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/geocode-us" \
-H "content-type: application/json" \
-d '{"address":"1600 Pennsylvania Ave NW, Washington, DC 20500"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fgeocode-us
const res = await pay("https://api.delx.ai/api/v1/x402/geocode-us", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"1600 Pennsylvania Ave NW, Washington, DC 20500"}),
});
console.log(await res.json());Example input
{
"address": "1600 Pennsylvania Ave NW, Washington, DC 20500"
}Example output
{
"result": {
"attribution": "This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.",
"benchmark": "Public_AR_Current",
"coverage": "US, Puerto Rico and U.S. Island Areas",
"data_note": "Coordinates are based on Census address ranges and may be interpolated; this is not a precise rooftop or navigation service.",
"match_count": 1,
"matches": [
{
"address_components": {
"city": "WASHINGTON",
"state": "DC",
"zip": "20500"
},
"coordinates": {
"latitude": 38.8977,
"longitude": -77.0365
},
"matched_address": "1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500"
}
],
"privacy": "Delx does not retain the submitted address or include it in request logs.",
"provider": "U.S. Census Bureau Geocoder",
"provider_url": "https://www.census.gov/data/developers/data-sets/Geocoding-services.html",
"schema": "delx/us-geocode/v1",
"terms_url": "https://www.census.gov/data/developers/about/terms-of-service.html",
"upstream_error": false
},
"tool_name": "geocode_us_address"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 6 ms | $0.001 |