Skip to content
OSINTtools.io

SpecStream API

Web search and page-reading API: send a question or up to 20 URLs and get results with sources or the pages' main text.

Base URL
https://api.specstream.ai
Sign-in
Bearer token
Pricing
Pay per request
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from specstream.ai · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

SpecStream's REST API searches the live web and reads pages. Web search answers a question in everyday words and returns the answer or rows, each value with the page it came from; extract returns the main text of up to 20 URLs. The API also has quote-and-approve endpoints for larger structured searches (deep search), saved requests, exports and webhooks, which are not described here; see the OpenAPI file.

Calls go to https://api.specstream.ai with an API key as a Bearer token. Keys are made in the workspace under Agents & API, carry scopes and spending limits, and responses are wrapped in a data object. Per the OpenAPI description, search costs $5 per 1,000 searches ($1 per 1,000 with speed=fast) and extract $0.80 per 1,000 pages read; a page with no text is free.

A request with no key can be answered with HTTP 402 and a payment request (x402). The docs I read give no rate limits.

Quick start

  1. Get a key

    Create an account with SpecStream and copy your bearer token. Where to get it

  2. Make your first request

    Answer a question from the live web, with the source of each value.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.specstream.ai/v1/web-search?q=who%20is%20the%20registrar%20of%20example.com' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "data": {
        "request_id": "req_example1",
        "query": "who is the registrar of example.com",
        "kind": "fact",
        "sources": [
          {
            "url": "https://example.com/about",
            "title": "About Example",
            "snippet": "Made-up snippet text."
          }
        ],
        "took_ms": 1800,
        "price_usd": 0.005,
        "next_page": null
      }
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Create a key in the workspace under Agents & API.

Get a key from SpecStream

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Pricing: pay per request.

Errors

StatusMeaning
402No key (payment required over x402), or an end-user spend cap refusal
409An Idempotency-Key was reused

Extract

  • Takes: URL
  • Active: contacts the target
  • Cost: $0.80 per 1,000 pages read

Pages come from live URLs, SpecStream's dated copy, or HTML you send. Only pages with status ok are charged. Each result has a status of ok, blocked, not_found, empty, unsupported, invalid_url or failed. PDFs, Word, Excel, EPUB and images are not read.

Request body (JSON) · 4Show

urlsstring[]

Page addresses, at most 20 per call

formatstring

markdown (default), text or html

querystring

Optional question, up to 2000 characters

max_charsinteger

Maximum text length per page, 100 to 100000

Response fields · 7Show

urlstring

Page address

statusstring

ok, blocked, not_found, empty, unsupported, invalid_url or failed

titlestring

Page title

textstring

Main text of the page

text_truncatedboolean

Whether the text was cut at max_chars

publishedstring

Published date, if found

read_fromstring

live, site, archive or html

curl -X POST 'https://api.specstream.ai/v1/extract' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"urls":["https://example.com/page"],"format":"markdown"}'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "url": "https://example.com/page",
      "status": "ok",
      "title": "Example page",
      "text": "Made-up main text of the page.",
      "text_truncated": false,
      "published": null,
      "read_from": "live"
    }
  ]
}

Account

  • Passive: the target is not contacted

Reports the spend ceiling and what remains of it.

Response fields · 7Show

account_idstring

Account id

emailstring

Account email

guestboolean

Whether this is a guest account

spend_ceiling_centsinteger

Spend ceiling in cents

amount_spent_centsinteger

Amount spent in cents

remaining_spend_centsinteger

Remaining spend in cents

authorization_availableboolean

Whether spending authorization is available

curl 'https://api.specstream.ai/v1/me' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": {
    "account_id": "acct_example1",
    "email": "user@example.com",
    "guest": false,
    "spend_ceiling_cents": 1000,
    "amount_spent_cents": 120,
    "remaining_spend_cents": 880,
    "authorization_available": true
  }
}