How to get Business State data via API (no scraping, pay-per-call)

2026-06-12 · GoCreative AI

What is the Business State API?

The Business State API is a pay-per-call endpoint that returns us state business landscape from census county business patterns — total establishments, employment, and annual payroll broken down by industry sector, for any state (ca or fips). authoritative market-sizing/tam ground truth. aggregate official stats, not a directory. It is built for developers and AI agents who need this data on demand without scraping it themselves or signing up for a subscription.

You pay $0.04 per call in USDC on the Base network using the x402 protocol — there is no API key, no signup, and no monthly minimum. An AI agent (or your code) hits the URL, receives an HTTP 402 price quote, pays automatically, and gets clean JSON back.

How to call it

GET https://api.gocreativeai.com/v1/census/business-state/example

First request returns 402 Payment Required with a payment quote. Your x402 client autopays and retries, and you get structured JSON.

Python (x402 SDK)

import httpx
from x402.clients.httpx import x402_payment_required

with httpx.Client() as c:
    c.event_hooks["response"] = [x402_payment_required(
        wallet_private_key="0x_YOUR_BASE_KEY", network="base")]
    data = c.get("https://api.gocreativeai.com/v1/census/business-state/example").json()
    print(data)

Why use a pay-per-call API instead of scraping?

Use it in an AI agent

This endpoint is part of a catalog of 450+ pay-per-call data tools and is exposed through a native MCP server, so Claude, Cursor, and custom agents can call it directly. The full machine-readable catalog is at https://api.gocreativeai.com/.well-known/x402.

Ready to try it? See the endpoint page or browse all endpoints.