EDGAR company lookup (ticker → CIK)
GET /api/edgar-company-lookupResolve a US stock ticker (e.g. Send GET /api/edgar-company-lookup with the required field ticker and pay $0.001 per call over x402 or MPP (there is no free tier). It returns a JSON object with ticker, cik, cikInt, name and source.
AAPL) to its SEC CIK number, the primitive every other EDGAR call needs. Returns ticker, cik (zero-padded, 0000320193), cikInt (320193) and the registered company name. Backed by SEC's company_tickers.json (public domain). A company name sent where the ticker goes is answered with a 404 that names the likely tickers ("Tesla" -> TSLA). ?ticker=AAPL
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ticker | string | yes | US stock ticker, e.g. AAPL Also accepted as symbol, q, query, company. |
Example request
curl -i "https://agent402.tools/api/edgar-company-lookup?ticker=AAPL"
Without payment this returns HTTP 402 Payment Required with the exact price for edgar-company-lookup; any x402 v2 or MPP client pays it and retries.
Example response
{
"ticker": "AAPL",
"cik": "0000320193",
"cikInt": 320193,
"name": "Apple Inc.",
"source": "SEC company_tickers.json"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
ticker | string | yes | AAPL |
cik | string | yes | 0000320193 |
cikInt | number | yes | 320193 |
name | string | yes | Apple Inc. |
source | string | yes | SEC company_tickers.json |
From an MCP client
catalog.call {
"slug": "edgar-company-lookup",
"params": {
"ticker": "AAPL"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for edgar-company-lookup; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
tickeris required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/edgar-company-lookup is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/edgar-company-lookup?ticker=AAPL");
Part of these workflows
EDGAR company lookup (ticker → CIK) is one step in these 2 skill packs, each sold as a single call:
- SEC filings deep-dive - Pull the full EDGAR picture of a US public company in one workflow: recent filings, key financial time series, insider trades, and full-text search across the corpus.
- Entity enrichment - Company name → verified identity + web footprint dossier: Wikidata facts, the official LEI legal-entity record, the SEC EDGAR filer, domain registration, tech stack, and brand favicon - in one pass.
Related tools
Company due-diligence dossier (grounded, cited)
POST /v1/dossierHand over a ticker and get one due-diligence dossier back. Pulls the company's SEC EDGAR filings (10-K / 10-Q / 8-K) and…
Company due-diligence dossier - MAX (exhaustive)
POST /v1/dossier/maxThe exhaustive due-diligence tier: more filings, a full year of Form 4 insider activity, wider web research (up to 8 ang…
EDGAR XBRL company-facts (all tags)
GET /api/edgar-company-factsAll XBRL concepts reported by a company. Default returns a compact summary per tag (label, unit, latest value, latest en…
EDGAR recent filings
GET /api/edgar-filingsRecent SEC filings for a company by ticker or CIK, newest first. Optionally filter by form type (10-K, 10-Q, 8-K, 4, S-1…
EDGAR full-text search
GET /api/edgar-searchGeneral-purpose full-text search across every SEC filing since 2001. Find any phrase in any filing - material-weakness l…
Company financials summary
GET /api/company-financialsKey financial metrics (Revenue, Net Income, Operating Income, Total Assets, Liabilities, Equity, EPS, Operating Cash Flo…