Api Endpoint

2s — the (most) everything API

USDA NASS QuickStats — authoritative US agricultural statistics: crop yields, acreage, production, livestock inventory, and prices received. Filter by commodity (e.g. CORN, SOYBEANS, CATTLE), year (or year__GE/year__LE range), state (2-letter), county, statistic category (YIELD, PRODUCTION, AREA HARVESTED, PRICE RECEIVED), and aggregation level (NATIONAL/STATE/COUNTY). Returns normalized rows with value + unit. QuickStats caps results at 50,000 rows, so narrow broad queries (a 400 RESULT_TOO_LARGE tells you to add filters). Public-domain federal data.

Open interactive test console

Offering

Provider
2s.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://2s.io/api/agriculture/stats
MIME type
application/json
First seen
2026-10-16T02:52:34.600Z
Last seen
Tags
public-records, identifiers, AI-agents, us-gov-data, X402, upto-billing, ai-gateway, agent-infrastructure, AI, Crypto, Random, Search, Trading, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.0025 USDC
Atomic price: 2500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.0025 USDC
Atomic price: 2500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2500",
    "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2500",
    "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn"
  }
]

Observed health

Status
Healthy
Latest latency
90 ms
Average latency
231 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "const": "http"
    },
    "method": {
      "const": "GET"
    },
    "queryParams": {
      "properties": {
        "commodity_desc": {
          "type": "string",
          "description": "Commodity, e.g. CORN, SOYBEANS, CATTLE (upper-case)."
        },
        "year": {
          "type": "string"
        },
        "year__GE": {
          "type": "string",
          "description": "Year >= (range start)."
        },
        "year__LE": {
          "type": "string",
          "description": "Year <= (range end)."
        },
        "state_alpha": {
          "type": "string",
          "description": "2-letter state code."
        },
        "county_name": {
          "type": "string"
        },
        "statisticcat_desc": {
          "type": "string",
          "description": "e.g. YIELD, PRODUCTION, AREA HARVESTED, PRICE RECEIVED."
        },
        "agg_level_desc": {
          "type": "string",
          "description": "NATIONAL, STATE, COUNTY, etc."
        },
        "short_desc": {
          "type": "string",
          "description": "Exact NASS data-item string."
        },
        "freq_desc": {
          "type": "string",
          "description": "ANNUAL, MONTHLY, WEEKLY."
        }
      },
      "required": [
        "commodity_desc"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "const": "http"
        },
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "properties": {
            "commodity_desc": {
              "type": "string",
              "description": "Commodity, e.g. CORN, SOYBEANS, CATTLE (upper-case)."
            },
            "year": {
              "type": "string"
            },
            "year__GE": {
              "type": "string",
              "description": "Year >= (range start)."
            },
            "year__LE": {
              "type": "string",
              "description": "Year <= (range end)."
            },
            "state_alpha": {
              "type": "string",
              "description": "2-letter state code."
            },
            "county_name": {
              "type": "string"
            },
            "statisticcat_desc": {
              "type": "string",
              "description": "e.g. YIELD, PRODUCTION, AREA HARVESTED, PRICE RECEIVED."
            },
            "agg_level_desc": {
              "type": "string",
              "description": "NATIONAL, STATE, COUNTY, etc."
            },
            "short_desc": {
              "type": "string",
              "description": "Exact NASS data-item string."
            },
            "freq_desc": {
              "type": "string",
              "description": "ANNUAL, MONTHLY, WEEKLY."
            }
          },
          "required": [
            "commodity_desc"
          ]
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ]
    }
  },
  "required": [
    "input"
  ]
}