Find the U.S
Find the U.S. places most demographically similar to a target geography using multivariate Census statistics.
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
Find the U.S. places most demographically similar to a target geography using multivariate Census statistics.
Tags: demographic similarity · similar counties · lookalike markets · Census data · ACS · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"target": {
"name": "Ventura County",
"state": "CA",
"type": "county"
},
"top_n": 10,
"universe": "US_COUNTIES"
}{
"data_vintage": {
"dataset": "ACS 5-Year",
"label": "ACS 5-Year 2019-2023",
"release_year": 2023
},
"feature_bundle": {
"id": "DEMOGRAPHIC_CORE",
"version": "1.0"
},
"matches": [
{
"category_contributions": {
"demographics": {
"share": 0
}
},
"distance": 0.967103,
"geography": {
"geoid": "06055",
"name": "Napa County, California"
},
"rank": 1,
"similarity_score": null,
"top_difference_contributors": [
{
"match_value": 42.8,
"metric": "median_age",
"target_value": 39.4
}
],
"top_similarity_contributors": [
{
"match_value": 22.1,
"metric": "foreign_born_pct",
"target_value": 21.9
}
]
},
{
"distance": 1.060634,
"geography": {
"geoid": "06059",
"name": "Orange County, California"
},
"rank": 2
}
],
"method": {
"covariance_estimator": "ledoit_wolf_scaled_identity",
"primary": "shrinkage_mahalanobis",
"shrinkage_intensity": 0.003299
},
"product": "demographic_similarity",
"status": "OK",
"target": {
"geo_type": "county",
"geoid": "06111",
"name": "Ventura County, California"
},
"uncertainty": {
"available": false
},
"universe": {
"geo_type": "county",
"id": "US_COUNTIES",
"self_excluded": true,
"size": 3142
}
}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/37811.jsonfor the price and payment options. - Pay. Call
GET https://agent-vending-production.up.railway.app/v1/demographic-similarity. 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. Distance: smaller = more similar; no percent-identical score.",
"properties": {
"charged": {
"type": "boolean"
},
"data_vintage": {
"type": "object"
},
"error": {
"type": "object"
},
"feature_bundle": {
"type": "object"
},
"matches": {
"type": "array"
},
"method": {
"type": "object"
},
"provenance": {
"type": "array"
},
"status": {
"type": "string"
},
"target": {
"type": "object"
},
"uncertainty": {
"type": "object"
},
"universe": {
"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": {
"charged": true,
"data_vintage": {},
"error": {},
"feature_bundle": {},
"matches": [
"value"
],
"method": {},
"provenance": [
"value"
],
"status": "string",
"target": {},
"uncertainty": {},
"universe": {},
"warnings": [
"value"
]
},
"type": "string"
}Examples
curl "https://agent-vending-production.up.railway.app/v1/demographic-similarity"
# -> 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/demographic-similarity");
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/demographic-similarity")
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/demographic-similarity
- Machine-readable
/resources/37811.json