MA
Market Data · x402 · early usage

Estimate the size of a U.S

Estimate the size of a U.S. household market using Census data, e.g. renter households in a county or high-income families with children in a state. Returns the strongest defensible result available: an official Census estimate or a direct ACS PUMS survey est…

by agent-vending-production.up.railway.app · discovered, not yet claimed by its owner · updated 2026-10-03

30d calls5
30d payers2
MethodPOST
Outputjson

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

Estimate the size of a U.S. household market using Census data, e.g. renter households in a county or high-income families with children in a state. Returns the strongest defensible result available: an official Census estimate or a direct ACS PUMS survey estimate with a 90% margin of error. Custom criteria combinations work for states, PUMAs and counties made of whole PUMAs. Unsupported requests are refused and not charged. Not endorsed by the U.S. Census Bureau.

Tags: market size · market sizing · TAM · household market · Census data · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-03
Input example from Bazaar metadata
{
  "filters": [
    {
      "operator": "==",
      "value": "renter",
      "variable": "tenure"
    }
  ],
  "geography": {
    "name": "Ventura County",
    "state": "CA",
    "type": "county"
  },
  "unit": "household"
}
Output example
{
  "criteria": [
    "tenure=renter"
  ],
  "data_vintage": "ACS 2019-2023 5-year (2023 release)",
  "estimate_type": "OFFICIAL_CENSUS_ESTIMATE",
  "estimated_market": {
    "count": 100000,
    "display": "~100,000 households",
    "raw": 99657
  },
  "geography": {
    "display_name": "Ventura County, California",
    "geoid": "06111",
    "type": "county"
  },
  "source": {
    "label": "2023 ACS 5-year, table B25003",
    "table": "B25003",
    "universe": "Occupied housing units (households)"
  },
  "status": "OK",
  "uncertainty": {
    "display": "97,600–101,700 households",
    "label": "90% margin of error (official Census)",
    "level": 0.9,
    "lower": 97600,
    "upper": 101700
  },
  "warnings": []
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/37816.json for the price and payment options.
  3. Pay. Call GET https://agent-vending-production.up.railway.app/v1/market-size. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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 · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x0b4242adf40726d9b09688030948176752d29924300s
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 = result (charged). Refusals are never charged: 422 NOT_SUPPORTED (geography/criteria not supported, or survey quality gates failed), 400 INVALID_QUERY, 503 DATA_UNAVAILABLE, 502 UPSTREAM_ERROR; refusals include reason_code, reason, alternatives and charged=false.",
      "properties": {
        "alternatives": {
          "type": "array"
        },
        "charged": {
          "type": "boolean"
        },
        "criteria": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "data_vintage": {
          "type": "string"
        },
        "estimate_type": {
          "enum": [
            "OFFICIAL_CENSUS_ESTIMATE",
            "OFFICIAL_AGGREGATED",
            "DIRECT_PUMS_DESIGN_BASED_ESTIMATE"
          ],
          "type": "string"
        },
        "estimated_market": {
          "type": "object"
        },
        "geography": {
          "type": "object"
        },
        "reason_code": {
          "type": "string"
        },
        "sample_quality": {
          "type": "object"
        },
        "source": {
          "type": "object"
        },
        "status": {
          "enum": [
            "OK",
            "NOT_SUPPORTED",
            "INVALID_QUERY",
            "DATA_UNAVAILABLE",
            "UPSTREAM_ERROR"
          ],
          "type": "string"
        },
        "uncertainty": {
          "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": {
    "alternatives": [
      "value"
    ],
    "charged": true,
    "criteria": [
      "string"
    ],
    "data_vintage": "string",
    "estimate_type": "OFFICIAL_CENSUS_ESTIMATE",
    "estimated_market": {},
    "geography": {},
    "reason_code": "string",
    "sample_quality": {},
    "source": {},
    "status": "OK",
    "uncertainty": {},
    "warnings": [
      "value"
    ]
  },
  "type": "string"
}

Examples

curl
curl "https://agent-vending-production.up.railway.app/v1/market-size"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agent-vending-production.up.railway.app/v1/market-size");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://agent-vending-production.up.railway.app/v1/market-size")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
agent-vending-production.up.railway.app
Endpoint
https://agent-vending-production.up.railway.app/v1/market-size
Machine-readable
/resources/37816.json