{
  "x402Version": 2,
  "id": 37814,
  "slug": "37814",
  "resource": "https://agent-vending-production.up.railway.app/v1/us-demographics",
  "description": "Query U.S. demographic, economic, education, labor, housing, and population statistics by geography. Returns normalized Census ACS estimates with margins of error, comparisons, trends, methodology, and source metadata as structured JSON. Not endorsed by the Census Bureau.",
  "type": "http",
  "serviceName": "US Demographic Intelligence",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0b4242adf40726d9b09688030948176752d29924",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "comparisons": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "experiment": {
            "type": "string"
          },
          "geography": {
            "type": "object"
          },
          "metrics": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "mode": {
            "type": "string"
          },
          "notice": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "price_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "geography": {
              "name": "California",
              "type": "state"
            },
            "metrics": [
              "total_population",
              "median_age",
              "median_household_income"
            ],
            "mode": "snapshot",
            "release": 2023
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "experiment": "LIMITED_PRODUCTION",
            "geography": {
              "display_name": "California",
              "fips": {
                "state": "06"
              },
              "geo_type": "state"
            },
            "metrics": [
              {
                "estimate": 39242785,
                "metric_id": "total_population",
                "moe": null,
                "usable": true
              }
            ],
            "mode": "snapshot",
            "notice": "This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.",
            "ok": true,
            "price_usd": 0.01,
            "product_name": "US Demographic Intelligence"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": true,
                "properties": {
                  "allow_overlapping": {
                    "type": "boolean"
                  },
                  "geographies": {
                    "description": "Exactly two geographies for compare mode.",
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "geography": {
                    "description": "Target geography for snapshot/trend (type + name; state/county as needed).",
                    "type": "object"
                  },
                  "metrics": {
                    "description": "Friendly metric ids (e.g. total_population, poverty_rate).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mode": {
                    "description": "Query mode.",
                    "enum": [
                      "snapshot",
                      "compare",
                      "trend",
                      "catalog"
                    ],
                    "type": "string"
                  },
                  "observations": {
                    "type": "integer"
                  },
                  "release": {
                    "description": "ACS5 release year (e.g. 2023).",
                    "type": "integer"
                  },
                  "years": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "comparisons": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "experiment": {
                    "type": "string"
                  },
                  "geography": {
                    "type": "object"
                  },
                  "metrics": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "mode": {
                    "type": "string"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "ok": {
                    "type": "boolean"
                  },
                  "price_usd": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "US demographics",
    "demographic data",
    "Census data",
    "ACS data",
    "population data",
    "bazaar"
  ],
  "sourceHost": "agent-vending-production.up.railway.app",
  "lastUpdated": "2026-10-03T19:17:34.181Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-03T19:17:33.969Z"
  },
  "metadata": {
    "serviceName": "US Demographic Intelligence",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "geography": {
                "name": "California",
                "type": "state"
              },
              "metrics": [
                "total_population",
                "median_age",
                "median_household_income"
              ],
              "mode": "snapshot",
              "release": 2023
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "experiment": "LIMITED_PRODUCTION",
              "geography": {
                "display_name": "California",
                "fips": {
                  "state": "06"
                },
                "geo_type": "state"
              },
              "metrics": [
                {
                  "estimate": 39242785,
                  "metric_id": "total_population",
                  "moe": null,
                  "usable": true
                }
              ],
              "mode": "snapshot",
              "notice": "This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.",
              "ok": true,
              "price_usd": 0.01,
              "product_name": "US Demographic Intelligence"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": true,
                  "properties": {
                    "allow_overlapping": {
                      "type": "boolean"
                    },
                    "geographies": {
                      "description": "Exactly two geographies for compare mode.",
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "geography": {
                      "description": "Target geography for snapshot/trend (type + name; state/county as needed).",
                      "type": "object"
                    },
                    "metrics": {
                      "description": "Friendly metric ids (e.g. total_population, poverty_rate).",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "mode": {
                      "description": "Query mode.",
                      "enum": [
                        "snapshot",
                        "compare",
                        "trend",
                        "catalog"
                      ],
                      "type": "string"
                    },
                    "observations": {
                      "type": "integer"
                    },
                    "release": {
                      "description": "ACS5 release year (e.g. 2023).",
                      "type": "integer"
                    },
                    "years": {
                      "items": {
                        "type": "integer"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "comparisons": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "experiment": {
                      "type": "string"
                    },
                    "geography": {
                      "type": "object"
                    },
                    "metrics": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "mode": {
                      "type": "string"
                    },
                    "notice": {
                      "type": "string"
                    },
                    "ok": {
                      "type": "boolean"
                    },
                    "price_usd": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent-vending-production.up.railway.app",
    "manifest_name": "agent-vending-production.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "comparisons": [
        {}
      ],
      "experiment": "string",
      "geography": {},
      "metrics": [
        {}
      ],
      "mode": "string",
      "notice": "string",
      "ok": true,
      "price_usd": 0
    },
    "type": "string"
  }
}