Built for AI agents · one key · 6 federal sources

The US government data API you can build on

Built for AI agents

SAM.gov contracts, USAspending awards, Grants.gov and Congress trades, plus SEC EDGAR, as one JSON schema on one key. REST and a hosted MCP server. Free tier, no card.

MCP-native hosted server 23 agent tools SEC + 5 federal sources, one key No credit card
api.edgrapi.com200 OK
GET /v1/opportunities?naics=541511&set_aside=SBA
Authorization: Bearer edgr_...
✓Auth
✓Rate limit
✓Credits
✓Cache
✓200
{
  "total": 82,
  "opportunities": [{
    "title": "Custom Software Development",
    "set_aside": "Total Small Business",
    "response_deadline": "2026-10-20"
  }]
}

Live demo · see real request shapes →

Same record, two views

The JSON an endpoint returns, and the card your app draws from it. Highlighted fields are the ones the card uses.

GET /v1/congress live
{
  "member": "Hon. Jennifer McClellan",
  "state_district": "VA04",
  "ticker": "VZ",
  "action": "sell",
  "amount_low": 50001,
  "amount_high": 100000,
  "transaction_date": "2026-11-19",
  "disclosed_date": "2026-11-20"
}
Congress trade
VZ sell
Hon. Jennifer McClellan
$50K to $100K2026-11-19
GET /v1/insider/latest live
{
  "ticker": "DXYZ",
  "owner": "Saba Capital Management, L.P.",
  "relationship": "10% owner",
  "buy_value": 5062769.5,
  "company": "Destiny Tech100 Inc."
}
Insider buy
DXYZbuy
Saba Capital Management, L.P. · 10% owner
$5.1MDestiny Tech100 Inc.

What is Edgrapi?

Edgrapi is a JSON API for US government data. One key returns SEC EDGAR filings, financial statements, insider trades and 13F holdings, plus SAM.gov contract opportunities, USAspending awards, Grants.gov grants, House stock trades and federal lobbying disclosures. It works over REST or a hosted MCP server for AI agents. The free tier has 50 credits, and paid plans start at $3 a month.

Use Edgrapi if you

  • build on SEC filings, insider trades or fund holdings and don't want to parse EDGAR yourself
  • need federal contracts, awards or grants in the same JSON format as SEC data
  • want to give an AI agent government data through MCP
  • want per-call pricing from $3 a month, or one-time credit packs that never expire

What Edgrapi doesn't cover

  • Live stock prices, intraday charts, forex or crypto. That's exchange data, so use a market-data API for it.
  • Startup funding rounds beyond what companies disclose on SEC Form D. Those live in private databases.
Contract opportunity alerts

You will hear about the solicitation before it closes

Save a search — NAICS, set-aside, state — and we poll SAM.gov every day and email you the new notices with the response deadline at the top. You are not paying for an endpoint. You are paying to not find out on day 29 of a 30-day window.

One saved search on the free tier. We poll daily, not in realtime, so a notice can be up to a day old when it lands.

Biggest insider buy today$5.1MSaba Capital Management, L.P. · 10% owner · DXYZSee the radar →
5official data sources
29endpoints + webhooks
100%public-domain data
1key · one JSON schema

Works with Claude, Cursor, n8n, LangChain, Zapier and anything else that speaks HTTP — plain REST, OpenAPI 3.1, and a hosted MCP server.

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 23 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" } } }
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.

Use Edgrapi wherever you build

A hosted MCP server for AI clients and agent frameworks, and a plain REST API for everything else. Each card opens a setup guide.

All setup guides →

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
LDA.gov/v1/lobbying — federal lobbying disclosuresget_lobbying2

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.

Endpoints and what each call costs

Pick an endpoint to see its response shape. Costs are per call; an empty result costs 1 credit and a failed call costs nothing.

{
  "ticker": "AAPL",
  "cik": "0000320193",
  "company": "Apple Inc.",
  "sic": "3571",
  "sic_description": "Electronic Computers",
  "fiscal_year_end": "0927",
  "exchanges": [
    "Nasdaq"
  ],
  "website": "https://www.apple.com",
  "source": "SEC EDGAR submissions"
}
Every call above is live with a free key. 50 free credits, no card. Get your free key

Response shapes shown are Edgrapi's sandbox samples. All endpoint costs →

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
  • 50 credits
  • All sources + MCP
  • No card
Start free
Lite
$3/mo
  • 1,500 credits / month
  • Credits roll over
  • All sources + MCP
Get Lite
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.

Start free — no card →

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. 50 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.