Compare U.S
Compare U.S. locations across Census demographics, income, education, housing and workforce metrics in one call.
by agent-vending-production.up.railway.app · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Compare U.S. locations across Census demographics, income, education, housing and workforce metrics in one call.
Tags: location comparison · compare counties · Census data · ACS · demographics · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"locations": [
{
"name": "Ventura County",
"state": "CA",
"type": "county"
},
{
"name": "Orange County",
"state": "CA",
"type": "county"
},
{
"name": "San Diego County",
"state": "CA",
"type": "county"
}
]
}{
"comparison": [
{
"comparison_status": "SIGNIFICANT_DIFFERENCE",
"highest": {
"estimate": 113702,
"geoid": "06059"
},
"largest_difference": {
"difference": 11417,
"difference_unit": "usd",
"percent_difference_vs_lowest": 11.16,
"significance_90": {
"significant": true
}
},
"lowest": {
"estimate": 102285,
"geoid": "06073"
},
"metric": "median_household_income",
"unit": "usd",
"values": [
{
"estimate": 107327,
"geoid": "06111",
"moe_90": 1391,
"national_percentile": {
"percentile": 96.91
}
},
{
"estimate": 113702,
"geoid": "06059",
"moe_90": 986,
"national_percentile": {
"percentile": 98.03
}
},
{
"estimate": 102285,
"geoid": "06073",
"moe_90": 899,
"national_percentile": {
"percentile": 95.98
}
}
]
}
],
"data_vintage": {
"dataset": "ACS 5-Year",
"label": "ACS 5-Year 2019-2023",
"release_year": 2023
},
"locations": [
{
"geo_type": "county",
"geoid": "06111",
"name": "Ventura County, California"
},
{
"geo_type": "county",
"geoid": "06059",
"name": "Orange County, California"
},
{
"geo_type": "county",
"geoid": "06073",
"name": "San Diego County, California"
}
],
"product": "location_compare",
"provenance": [
{
"dataset": "acs/acs5/profile",
"provider": "census_acs",
"release_year": 2023
}
],
"status": "OK",
"summary": {
"largest_differences": [
{
"difference": 2.3,
"difference_unit": "years",
"highest": "Ventura County, California",
"lowest": "San Diego County, California",
"metric": "median_age",
"national_percentile_spread": 14
}
]
},
"vintage_check": {
"release_year": 2023,
"same_vintage": true
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/37810.jsonfor the price and payment options. - Pay. Call
GET https://agent-vending-production.up.railway.app/v1/location-compare. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x0b4242adf40726d9b09688030948176752d29924 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0b4242adf40726d9b09688030948176752d29924",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"description": "HTTP 200 = completed result (charged). Refusals and errors are never charged: 400 INVALID_REQUEST (unknown/ambiguous geography, bad input), 422 NOT_SUPPORTED, 502 UPSTREAM_ERROR, 503 DATA_UNAVAILABLE, 500 INTERNAL_ERROR; all include charged=false.",
"properties": {
"benchmarks": {
"type": "object"
},
"charged": {
"type": "boolean"
},
"comparison": {
"type": "array"
},
"data_vintage": {
"type": "object"
},
"error": {
"type": "object"
},
"locations": {
"type": "array"
},
"methodology": {
"type": "object"
},
"provenance": {
"type": "array"
},
"status": {
"type": "string"
},
"summary": {
"type": "object"
},
"vintage_check": {
"type": "object"
},
"warnings": {
"type": "array"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"benchmarks": {},
"charged": true,
"comparison": [
"value"
],
"data_vintage": {},
"error": {},
"locations": [
"value"
],
"methodology": {},
"provenance": [
"value"
],
"status": "string",
"summary": {},
"vintage_check": {},
"warnings": [
"value"
]
},
"type": "string"
}Examples
curl "https://agent-vending-production.up.railway.app/v1/location-compare"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agent-vending-production.up.railway.app/v1/location-compare");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agent-vending-production.up.railway.app/v1/location-compare")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agent-vending-production.up.railway.app
- Endpoint
- https://agent-vending-production.up.railway.app/v1/location-compare
- Machine-readable
/resources/37810.json