APIs built for AI agents

Value-add wrappers around free public APIs. Structured JSON, single-call interfaces, agent-optimized responses. Pay per request with Lightning micropayments.

Early access — APIs wrap public upstream sources that may occasionally return errors. L402 payments are non-refundable. See endpoint docs for usage tips to maximize success rates.

How it works

Agent sends GET request | v api.lightningenable.com/l402/proxy/{proxyId}/forecast?lat=40.71&lon=-74.00 | | ← 402 Payment Required + Lightning invoice | ← Agent pays invoice (2-5 sats) | ← Retries with L402 token | v agent-commerce.store/api/weather/forecast ← Our backend: calls NWS, transforms, returns structured JSON | v api.weather.gov (free, public domain)

API Catalog

Weather Intel 2-3 sats

National Weather Service data transformed into single-call, agent-optimized JSON with activity recommendations and severity scoring.

  • GET /api/weather/forecast
  • GET /api/weather/alerts
  • GET /api/weather/conditions

Smart Wikipedia 2-3 sats

Wikipedia + Wikidata combined in single calls. Structured key facts, entity properties, disambiguation detection, and controversy flags.

  • GET /api/wikipedia/summary
  • GET /api/wikipedia/entity
  • GET /api/wikipedia/related

Paper Scout 3 sats

arXiv paper search with Atom XML transformed to structured JSON. Author extraction, category mapping, and citation metadata.

  • GET /api/papers/search
  • GET /api/papers/{arxivId}

Census Query 3-5 sats

US Census data with natural language place resolution. Convert city names to FIPS codes automatically, get pre-built demographic queries.

  • GET /api/census/population
  • GET /api/census/demographics

SEC EDGAR 8-10 sats

XBRL nightmare → clean JSON. SEC filing search with company facts, filing type descriptions, and key financial data extraction in single calls.

  • GET /api/edgar/search
  • GET /api/edgar/company/{cik}
  • GET /api/edgar/filing/{accessionNumber}

OpenFDA 5 sats

FDA drug safety data — adverse events with severity scoring, recall search, and drug label extraction from deeply nested FDA responses.

  • GET /api/openfda/adverse-events
  • GET /api/openfda/recalls
  • GET /api/openfda/labels

PubMed 6-7 sats

3-step collapse of NCBI's XML hell. Biomedical literature search combining esearch + efetch into structured JSON with parsed abstracts and MeSH terms.

  • GET /api/pubmed/search
  • GET /api/pubmed/{pmid}

FRED Economic Data 4-5 sats

Premium macro data. Federal Reserve economic data with single-call series info + observations, computed statistics, and human-readable labels.

  • GET /api/fred/search
  • GET /api/fred/series/{seriesId}
  • GET /api/fred/series/{seriesId}/data

OpenAlex 3-5 sats

Scholarly works search with reconstructed abstracts from inverted index, open access detection, and author profiles with h-index.

  • GET /api/openalex/search
  • GET /api/openalex/work/{id}
  • GET /api/openalex/author/{id}

Crossref 2-3 sats

DOI metadata resolution with normalized authors, license detection, open access status, and formatted citations.

  • GET /api/crossref/search
  • GET /api/crossref/doi/{doi}

Federal Register (Temporarily Unavailable) 3-5 sats

US regulations search with document type descriptions, key dates extraction, and agency resolution. Essential for compliance agents.

  • GET /api/federalregister/search
  • GET /api/federalregister/document/{number}
  • GET /api/federalregister/recent

Currency Exchange 1-2 sats

ECB exchange rates with currency names, inverse rates, conversion, and historical data with percentage change statistics.

  • GET /api/currency/latest
  • GET /api/currency/convert
  • GET /api/currency/historical

Air Quality 2 sats

EPA AirNow data with health recommendations per AQI category, sensitive group warnings, and dominant pollutant identification.

  • GET /api/airquality/current
  • GET /api/airquality/forecast

Nutrition Data 3 sats

USDA FoodData Central with key nutrients extracted, daily value percentages, and simplified serving sizes from massive nutrient arrays.

  • GET /api/nutrition/search
  • GET /api/nutrition/{fdcId}

YouTube Transcript 2-5 sats

Extract closed captions as structured JSON with token estimation, smart truncation at segment boundaries, and keyword search with timestamps.

  • GET /api/youtube/transcript
  • GET /api/youtube/metadata
  • GET /api/youtube/search

GitHub Repo Intel 3-5 sats

4 GitHub API calls collapsed into one. Stats, language breakdown as percentages, top contributors, and recent commit activity.

  • GET /api/github/repo
  • GET /api/github/repo/contributors
  • GET /api/github/repo/activity

DNS & WHOIS 2-3 sats

Resolve all DNS record types (A, AAAA, MX, NS, TXT, CNAME) and RDAP registration data in structured JSON. Combined endpoint saves two lookups.

  • GET /api/dns/lookup
  • GET /api/dns/whois
  • GET /api/dns/full

Geocoding 2 sats

Forward and reverse geocoding via OpenStreetMap. Convert addresses to coordinates and coordinates to addresses with global coverage.

  • GET /api/geocoding/forward
  • GET /api/geocoding/reverse

Stock Quote 3 sats

Real-time stock quotes and OHLCV history. Flattened from Yahoo Finance with computed change, 52-week range, and automatic interval selection.

  • GET /api/stock/quote
  • GET /api/stock/history

IP Geolocation 2-5 sats

Geolocate IP addresses with SSRF protection. Country, city, ISP, timezone, coordinates. Bulk endpoint for up to 100 IPs in one call.

  • GET /api/ipgeo/lookup
  • POST /api/ipgeo/bulk

Suite Packages Save ~25%

Single-call aggregated endpoints that query multiple APIs in parallel. One request, one structured response, one payment.

Research Suite 10 sats

Single call searches arXiv + PubMed + OpenAlex + Crossref in parallel. Returns papers, articles, scholarly works, and DOI metadata in one structured response.

  • GET /api/research/comprehensive?query={q}

Finance Suite 10 sats

FRED economic data + SEC EDGAR filings + currency exchange rates + stock quotes in one call. Macro data, company filings, FX rates, and market prices.

  • GET /api/finance/overview?query={q}

Compliance Suite 8 sats

Federal Register + SEC EDGAR combined for regulatory compliance. Rules, proposed rules, and company filings in a single structured response.

  • GET /api/compliance/search?query={q}

Health Suite 10 sats

OpenFDA drug safety + PubMed literature + air quality + nutrition data. Complete health context for medical and wellness agents.

  • GET /api/health/overview?query={q}

Why pay for free data?

These APIs wrap public data sources. The data is free. The value is in what we do with it.

Raw SEC EDGAR API

What you get for free:

# 3 separate API calls required
GET efts.sec.gov/LATEST/search-index
  ?q="Tesla"&dateRange=custom...
# Parse HTML-encoded JSON response
# Extract CIK from nested results
# Second call for company facts:
GET data.sec.gov/api/xbrl/companyfacts
  /CIK{cik}.json
# Parse 50,000-line XBRL JSON
# Third call for filing details:
GET efts.sec.gov/LATEST/search-index
  ?q=...&forms=10-K...

Result: 3 calls, XML/XBRL parsing,
CIK lookups, pagination handling,
custom date formatting, error
handling for rate limits (10 req/sec)

Agent Commerce: 8 sats

What you get for 8 sats (~$0.008):

GET /api/edgar/company/TSLA

{
  "company": "Tesla Inc",
  "cik": "0001318605",
  "filings": [
    {
      "type": "10-K",
      "date": "2025-01-29",
      "description": "Annual Report",
      "url": "https://..."
    }
  ],
  "facts": {
    "revenue": "$96.7B",
    "netIncome": "$7.1B",
    "totalAssets": "$106.6B"
  }
}

Result: 1 call. Clean JSON.
Agent-ready. Done.

One call, not three

We collapse multi-step API sequences into single requests. Your agent makes one call and gets structured data back.

No API keys to manage

No registration, no credentials to rotate, no rate limit headers to parse. L402 is the only auth you need.

Agent-optimized JSON

No XML. No XBRL. No HTML parsing. No pagination. Every response is flat, typed JSON designed for LLM consumption.

One protocol for 21 APIs

Instead of learning 21 different APIs with different auth schemes, rate limits, and response formats — learn one: L402.

Pricing Tiers

Priced by value-add complexity. Higher tiers = more data transformation, multi-source joins, and premium content.

Basic 1-2 sats

Near pass-through, light transforms

Currency Air Quality Weather (alerts/conditions) Wikipedia (summary/related) Crossref (search) Geocoding IP Geolocation (single) DNS (lookup/whois) YouTube (metadata)
Standard 3 sats

Structured JSON, category mapping, author normalization

Paper Scout Nutrition Census (population) OpenAlex (search/author) Federal Register (search/recent) Crossref (DOI) Weather (forecast) Wikipedia (entity) Stock Quote GitHub (contributors/activity) DNS (full) YouTube (search)
Premium 4-5 sats

Multi-source joins, computed stats, deep flattening

FRED OpenFDA OpenAlex (work) Federal Register (document) Census (demographics) GitHub (repo) YouTube (transcript) IP Geolocation (bulk)
Pro 6-10 sats

XML hell → clean JSON, XBRL parsing, 3-step API collapse

PubMed SEC EDGAR
Suite 8-10 sats

Multi-API parallel queries, ~25% savings vs individual calls

Research Finance Compliance Health