MCP-native · built for AI agents · one key

The US government data API

Built for AI agents

One key turns SEC filings, federal contracts, spending, grants and Congress trades into 19 tools your agent calls directly — a hosted MCP server, plus plain REST. No XBRL parsing, no scraping, no glue code. Free tier, no card.

MCP-native hosted server 19 agent tools SEC + 4 federal sources, one key No credit card
api.edgrapi.com200 OK
GET /v1/insider/AAPL
Authorization: Bearer edgr_...
Auth
Rate limit
Credits
Cache
200
{
  "owner": "Levinson Arthur D",
  "relationship": ["director"],
  "code": "S",  "shares": 50000,
  "value": 15551000,  "signal": "sell"
}

Live demo · see real request shapes →

Biggest insider buy today$5MShen Ching Hang · 10% owner · cvSee the radar →
5official data sources
26endpoints + webhooks
100%public-domain data
1key · one JSON schema

Plain REST and OpenAPI 3.1, plus a hosted MCP server. Drops straight into Claude, Cursor, n8n, LangChain, Zapier and anything else that speaks HTTP.

Built for AI agents

Your agent already knows how to use this

Point any MCP-capable agent (Claude, ChatGPT, Cursor, or your own) at one hosted server and it gets all 19 tools on one key — every US-government source as a callable tool: get_opportunities (SAM.gov), get_awards (USAspending), get_grants, get_congress, plus the full SEC set: get_insider, get_holdings (13F), get_fundamentals, get_sections and more. Authenticate with OAuth 2.1 (PKCE) or a bearer edgr_ key.

{ "mcpServers": { "edgrapi": { "url": "https://api.edgrapi.com/mcp" } } }
Connect your agent for free →
agent session · connected to edgrapi mcp↻ Replay
YOU
Find open DoD solicitations for drones, and who tends to win similar work.
AGENT
Searching SAM.gov and USAspending…
TOOL
get_opportunities({ naics: "336411", ptype: "o" })
MCP
5 open solicitations · incl. FA8100-26-R-0000
TOOL
get_awards({ keyword: "drone", agency: "Department of Defense" })
MCP
42 awards · recipients + amounts
AGENT
There are 5 open DoD aircraft/drone solicitations right now, and 42 related awards over the last year you can rank by recipient and value. Want the solicitation details or the top awardees?

Simulated agent session using real MCP tool names.

Every source, one key, one schema

SEC filings plus the core federal datasets — official, public-domain US data, normalized to the same clean JSON. One API key, one consistent shape, no scrapers to maintain.

SEC EDGAR

Insider trades, 8-K events, 13F fund holdings, activist stakes, financial statements, ratios and 10-K/10-Q sections.

SAM.gov

Federal contract opportunities — solicitations, sources-sought and award notices, filtered by NAICS, set-aside and state.

USAspending

Federal spending awards: contracts, grants, loans and direct payments, each with the award link back to the source.

Grants.gov

Federal grant funding opportunities with open and close dates and Assistance Listing (CFDA) numbers.

Congress

Congressional stock trades from US House STOCK Act filings — member, ticker, buy or sell, and the disclosed amount range.

One X-API-Key, one JSON shape across all of it, on a hosted MCP server too. See the endpoints →

Every endpoint, one key

One credit-metered key and one JSON schema across every source — the same auth on plain REST and the hosted MCP server.

SourceEndpointsMCP toolsCost
SEC EDGAR/v1/insider, /fundamentals, /ratios, /filings, /holdings, /activist, /events, /sections & moreget_insider, get_fundamentals, get_holdings & 12 more1–5
SAM.gov/v1/opportunities — federal contract opportunitiesget_opportunities2
USAspending/v1/awards — contracts, grants, loans & direct paymentsget_awards2
Grants.gov/v1/grants — grant funding opportunitiesget_grants2
Congress/v1/congress — House STOCK Act stock tradesget_congress2

Full endpoint reference →  ·  how credits work →

What comes back

The same metric gets tagged a few different ways depending on the company and the filing year, statements arrive as raw HTML, and matching a ticker to its CIK is a chore by itself. Edgrapi handles all of that before the data reaches you.

Statements

Income statement, balance sheet and cash flow, annual or quarterly. Every company uses the same field names, so you stop writing per-ticker special cases.

Ratios

Margins, ROE, ROA, current ratio, debt-to-equity and revenue growth, worked out from the statements so you do not have to.

Filings

Every 10-K, 10-Q and 8-K, each one linked straight to the document on SEC.gov.

Use it from any language

It's a plain REST API that returns JSON. If your language can make an HTTP request, it can call Edgrapi.

curl "https://api.edgrapi.com/v1/fundamentals/AAPL?period=annual&limit=4" \
  -H "X-API-Key: $EDGRAPI_KEY"
import requests
r = requests.get("https://api.edgrapi.com/v1/fundamentals/AAPL",
    params={"period": "annual", "limit": 4},
    headers={"X-API-Key": "edgr_..."})
print(r.json()["income_statement"][0]["revenue"])
const r = await fetch(
  "https://api.edgrapi.com/v1/fundamentals/AAPL?period=annual&limit=4",
  { headers: { "X-API-Key": "edgr_..." } });
const data = await r.json();

Who it's for

GovCon & grant research

Track federal contract opportunities, awards and grant funding across SAM.gov, USAspending and Grants.gov — without wrestling each agency's own API.

Quant & investing tools

Insider buys, 13F holdings, Congress trades and fundamentals for screens, factor models and backtests, without watching the bill climb.

AI / LLM builders

Feed clean government and financial data into a research copilot, an agent, or a RAG pipeline — every endpoint is an MCP tool.

Simple, metered pricing

Start free, then pay for what you actually call — credits, not seats. Every source is on every plan, and credits never expire.

Free
$0
  • 100 credits / month
  • All sources + MCP
  • No card
Start free
Starter
$10/mo
  • 10,000 credits / month
  • Credits roll over
  • All sources + MCP
Get Starter
Pro
$29/mo
  • 30,000 credits / month
  • Credits roll over
  • All sources + MCP
Get Pro

Full pricing, annual & pay-as-you-go packs →

Your first call in about a minute

One key for SEC filings, federal contracts, spending, grants and Congress trades. Free tier, no card.

Get a free API key →

Questions

Where does the data come from?

Official US government sources: SEC EDGAR (filings, insider trades, fund holdings), SAM.gov (contract opportunities), USAspending (federal awards), Grants.gov (grants), and US House STOCK Act disclosures (Congress trades). It's all public-domain; we normalize it into one JSON schema.

Do you cover government contract and grant data?

Yes. /v1/opportunities returns SAM.gov contract opportunities, /v1/awards returns USAspending awards (contracts, grants, loans, direct payments), and /v1/grants returns Grants.gov funding — flat JSON on the same key.

How fresh is the data?

As fresh as each source publishes it — Edgrapi normalizes the official feeds, it doesn't hold or restate anything. Congressional trades run up to 45 days behind by law and report dollar ranges, House-only for now.

Is there a free tier?

Yes. 100 free credits to start, no card. After those, you pick a plan; credits never expire.

Can I use it from Claude or Cursor?

Yes. Connect the hosted MCP server or install the agent skill; the AI-agent guide covers both. Every endpoint is an MCP tool.