2s

2s Stocks API

The stocks API from 2s — 14 operation(s) for stocks.

Operations 14

GET /api/stocks/company-news Recent news articles about a specific US-listed company #
GET /api/stocks/earnings-surprises Historical quarterly earnings surprises for a US-listed #
GET /api/stocks/financials-reported As-reported financial statements for a US-listed company #
GET /api/stocks/gov-spending US federal government spending awarded to a public company #
GET /api/stocks/h1b-visas US work-visa (H-1B and related) applications filed by a #
GET /api/stocks/insider-sentiment Aggregated insider sentiment for a US-listed company, by month #
GET /api/stocks/lobbying US federal lobbying disclosures for a public company #
GET /api/stocks/metrics Key fundamental metrics and 52-week price statistics for a #
GET /api/stocks/patents USPTO patent activity associated with a public company #
GET /api/stocks/peers Peer companies for a US-listed ticker - other companies in #
GET /api/stocks/quote Latest daily stock quote for a US-listed ticker #
GET /api/stocks/recommendations Analyst recommendation trend for a US-listed company - the #
GET /api/stocks/screener Fundamental stock screener built on SEC EDGAR XBRL Frames #
GET /api/stocks/symbols Search or list the tradable equity symbol universe for an #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/2s-io:2s-io-stocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

2s-io-stocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 2s — the (most) everything Stocks API
  version: '1'
  summary: The (most) everything API.
  description: 'The (most) everything API for AI agents: 575+ pay-per-call endpoints on one origin.'
  contact:
    name: 2s
    url: https://2s.io
    email: alley@2s.io
  x-logo:
    url: https://2s.io/icon-512.png
    altText: 2s
  x-guidance: 'Pay-per-call REST API for AI agents — hundreds of endpoints returning ground-truth data (US public records, company & legal identifiers, finance/SEC, crypto/web3, security & CVEs, medical codes, weather & geocoding, agriculture, energy, maritime, music, and more). Every endpoint is paid per call in USDC via x402 (Base or Solana) — no API key, no signup. Call any endpoint with no auth to get a 402 PaymentRequirements envelope, sign it (EIP-3009 on Base, partial SPL transfer on Solana), and retry with the PAYMENT-SIGNATURE header. Add ?trial=1 for one free real call per endpoint per hour to test before paying. To discover the right endpoint: GET https://2s.io/api/directory for the full catalog, or GET https://2s.io/api/search/endpoints?q=<natural-language task> for a ranked match. Per-call price is on each operation as x-payment-info (from $0.001). Batch up to 50 calls behind one payment via POST https://2s.io/api/batch/run.'
servers:
- url: https://2s.io
tags:


# --- truncated at 32 KB (80 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/2s-io/refs/heads/main/openapi/2s-io-stocks-api-openapi.yml