Search engine for agents

Let your agent search
the live web.

Give your agent a way to look up current information. Search the web, request content from specific pages, or connect through MCP.

Get a free API key See an example

$0.00613 a credit 1,000 free credits a month, no card No SDK to install

Results

Better results

Industry-leading web retrieval. Search APIs are easy to compare on price and speed; what decides whether your agent answers well is the quality of what comes back to it.

Trawlia against the three of seven search APIs that returned fewer than the twenty results requested, on the same sixteen queries.
Search APIResults returned of 20
Trawlia 20
Engine A 19.31
Engine B 18.13
Engine C 9.13
Trawlia against the three of seven search APIs that returned fewer than the 20 requested, across 16 queries. Measured 2026-08-28.

From a question to a source

Search for sources. Check what comes back.

Basic search looks for links and snippets. Advanced search also attempts to fetch the matching pages and extract their content. Searches can return no matches, and some pages cannot be retrieved.

1. Send a search

curl https://api.trawlia.co/v1/search \
  -H "authorization: Bearer twl_..." \
  -H "content-type: application/json" \
  -d '{
    "query": "latest Python release notes",
    "search_depth": "advanced"
  }'

Replace twl_... with your API key. This advanced request costs 2 credits.

2. Read the results

Inspect any returned results before using them. Check fetched and fetch_error to see whether page retrieval succeeded; an empty result list means no matches were returned.

{
  "results": [
    {
      "title": "Page title",
      "url": "https://example.com/release-notes",
      "content": "Readable text extracted from the page…",
      "fetched": true,
      "fetch_error": null
    }
  ]
}

Illustrative response excerpt; live results depend on your query. See the full response format →

Answer with current sources

Search when your agent needs information beyond its training data. Keep the source URLs alongside its answer.

Search API reference →

Read pages you already have

Request content from a list of URLs for research or your retrieval pipeline. Check which pages were successfully extracted.

Extract page content →

Search from your agent

Connect the MCP server to give your agent search and extraction tools without writing an HTTP integration.

Connect with MCP →

Speed

Know how long a search takes.

18ms

cached

275ms

first ask

94%

of results carried a citable publisher URL

Median of 16 fixed queries at basic depth, measured against the production API by npm run bench on 2026-08-14. A call that errored is counted, never dropped.

Pricing

$0.00613a credit

On the Scale plan: $49 a month for 8,000 credits.

Basic search
1 credit
Advanced search
2 credits
Extraction
1 credit / 5 URLs

Know what each request costs.

One balance and a published price for every operation, so you can work out what a call costs before you make it. A basic search is one credit, advanced is two, and extraction is one credit per five URLs. The free plan includes 1,000 credits each month: enough for 1,000 basic searches or 500 advanced searches. Paid plans renew monthly; see pricing for billing details.

See pricing Get a free API key

Getting started

Plug it into what you already have

Plain HTTP and a bearer token, so there is no SDK to install and no version of ours to keep up with. Drop it into an agent loop or a RAG pipeline: start with a request below, then use the same endpoint in your application.

curl https://api.trawlia.co/v1/search \
  -H "authorization: Bearer twl_..." \
  -H "content-type: application/json" \
  -d '{
    "query": "latest Python release notes",
    "search_depth": "advanced"
  }'

Let an agent wire itself up

Point a coding agent at agents.md and it has the setup without reading this page. Generated from the code that serves the requests, so it cannot describe an endpoint that no longer exists.

Read the spec instead

openapi.json covers both endpoints and every parameter, also generated. llms.txt is the short index for a model landing on the domain.

Speak MCP

trawlia-mcp exposes search and extract as two tools, returning readable text rather than raw JSON. One line to add it to Claude Code, Claude Desktop or Cursor.

Try it on a question your agent needs to answer.

1,000 credits a month, no card, and the same API the paid plan gets. Run your own evaluation set through it and check the sources and content yourself.

Get a free API key Read the docs