x402 Pay-Per-Request API
Access Filed.dev corporate entity data with USDC micropayments. No API key, no subscription — just pay per request.
What is x402?
x402 is the HTTP 402 Payment Required protocol by Coinbase. When you hit a protected endpoint without payment, the server returns a 402 response with payment details. Your agent pays USDC, resubmits the request with a payment proof header, and gets the data.
AI agents using the @x402/client SDK handle this flow automatically.
Endpoints
GET
/api/x402/entity$0.01 / querySearch corporate entities by state.
staterequired2-letter state code (e.g. FL, NY, CA)nameEntity name (partial match)typeEntity type filter (e.g. LLC, Corporation)statusStatus filter (e.g. Active, Dissolved)limitMax results, default 10, max 50offsetPagination offsetcurl https://filed.dev/api/x402/entity?state=FL&name=acmeGET
/api/x402/entity/{id}$0.02 / queryGet full entity detail by ID, including officers and filings.
idrequiredEntity UUID (from search results)curl https://filed.dev/api/x402/entity/abc-123GET
/api/x402/changes$0.03 / queryGet recent entity changes (status, officers, filings).
stateFilter by state codefieldFilter by field namesinceISO 8601 timestamp, default 24h agolimitMax results, default 100, max 1000curl https://filed.dev/api/x402/changes?state=FL&since=2026-03-29Payment Details
Quick Start (Agent SDK)
import { wrapFetch } from "@x402/client";
import { createSolanaWalletClient } from "@x402/svm";
// Create a Solana wallet client
const wallet = createSolanaWalletClient(privateKey);
const fetchWithPayment = wrapFetch(fetch, wallet);
// Make a paid request — payment is automatic
const res = await fetchWithPayment(
"https://filed.dev/api/x402/entity?state=FL&name=acme"
);
const data = await res.json();Also Available
If you prefer traditional API keys with monthly billing, see our REST API documentation.