Company intelligence for AI agents. Pay per call in USDC, no keys, no signups.
Parse a 10-K, 10-Q, or 8-K from EDGAR into structured per-Item JSON. Pass an accession (e.g. 0000320193-26-000011) and optionally items=1A,7,7A to filter.
- Endpoint
- GET https://api.swarm-api.com/v1/filings/extract
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 500000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/filings/extract");
const data = await res.json();Snapshot of a public GitHub repo: stars, forks, languages, license, default branch, archive status, plus the last 10 commits, last 5 releases, and top contributors. Pass slug=<owner/repo> (e.g. facebook/react) or url=https://github.com/owner/repo.
- Endpoint
- GET https://api.swarm-api.com/v1/github/repo
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 50000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/github/repo");
const data = await res.json();Form 4 insider transactions (purchases, sales, awards, derivative exercises) for a company's officers, directors, and 10% holders, parsed from EDGAR XML. Pass id=<CIK>, optional since/until (YYYY-MM-DD), limit (default 10, max 50).
- Endpoint
- GET https://api.swarm-api.com/v1/companies/insiders
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 300000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/companies/insiders");
const data = await res.json();List recent SEC filings (10-K, 10-Q, 8-K, S-1, Form 4, etc.) for a CIK with optional type filter and date floor.
- Endpoint
- GET https://api.swarm-api.com/v1/companies/filings
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 50000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/companies/filings");
const data = await res.json();Open job postings from a company's public Greenhouse or Lever board. Pass company=<name> for auto-discovery, or ats=greenhouse|lever&slug=<slug> for explicit lookup.
- Endpoint
- GET https://api.swarm-api.com/v1/companies/jobs
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 100000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/companies/jobs");
const data = await res.json();Latest version, license, deps, recent versions, deprecation status, and known vulnerabilities (via OSV.dev) for an npm, PyPI, or cargo package. Pass registry=npm|pypi|cargo and name=<package-name>.
- Endpoint
- GET https://api.swarm-api.com/v1/packages/info
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 50000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/packages/info");
const data = await res.json();Recent news mentions of a company indexed by GDELT 2.0. Pass company=<name>, optional since/until (YYYY-MM-DD), language (default english), limit (default 25, max 75).
- Endpoint
- GET https://api.swarm-api.com/v1/companies/news
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 200000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/companies/news");
const data = await res.json();Resolve a free-form query (ticker, CIK, or company name) to canonical SEC records. Returns up to 5 ranked matches.
- Endpoint
- POST https://api.swarm-api.com/v1/companies/resolve
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 20000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/companies/resolve");
const data = await res.json();General web search via the Brave Search API. Pass q=<query>, optional count (default 10, max 20), country (e.g. US), freshness (pd | pw | pm | py for past day/week/month/year), language (e.g. en).
- Endpoint
- GET https://api.swarm-api.com/v1/web/search
- Network
- eip155:8453
- Asset
- 0x8335…2913 (USDC)
- Pay to
- 0x5538…8806
import { createAgentClient } from "@swarmapi/sdk";
const fetch = createAgentClient({
privateKey: process.env.AGENT_PRIVATE_KEY,
maxSpendPerRequest: 100000n, // 10x list price
});
const res = await fetch("https://api.swarm-api.com/v1/web/search");
const data = await res.json();