Firecrawl Web Search

API docs
https://api.sandbase.ai/v1/api/firecrawl/search

Searches the web using a text query and returns relevant pages with their titles, descriptions, and source URLs. Supports adjusting result counts.

Price
$0.015USD / call
Method
POST
Response
JSON
Parameters
1 required · 1 optional

Playground

Input
The search query.
1100
Maximum number of results to return. Range: 1 to 100.
OutputExample
Responseoutputs · 1.4 KB · 27 lines
{
  "creditsUsed": 2,
  "data": {
    "web": [
      {
        "description": "OpenAI | Research & Deployment\n\n## Recent news\n[Advancing the price-performance frontier with GPT‑5.6\\\n\\\nProductJul 30, 2026](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/)\n\n[David Vélez and Robin Vince join OpenAI boards\\\n\\\nCompanyJul 21, 2026](https://openai.com/index/david-velez-robin-vince-join-openai-boards/)\n\n## Latest research\n[An OpenAI model has disproved a central conjecture in discrete geometry\\\n\\\nResearchMay 20, 2026](https://openai.com/index/model-disproves-discrete-geometry-conjecture/)",
        "position": 1,
        "title": "OpenAI | Research & Deployment",
        "url": "https://openai.com/"
      },
      {
        "description": "OpenAI is an AI research and deployment company dedicated to ensuring that general-purpose artificial intelligence benefits all of humanity.",
        "position": 2,
        "title": "OpenAI",
        "url": "https://www.linkedin.com/company/openai"
      },
      {
        "position": 3,
        "title": "Black Hat USA 2026 - The OpenAI–Hugging Face Incident",
        "url": "https://www.reddit.com/r/LocalLLaMA/comments/1vhv8ka/black_hat_usa_2026_the_breaking_news_the/"
      },
      "… 7 more items in the full response"
    ]
  },
  "id": "019fe65c-b356-769c-9e1f-a9960ff7c770",
  "success": true
}

Examples

Select an example to load its inputs and result into the playground.

API README

Firecrawl Web Search API

Returns a ranked list of web pages that match a text query. Each result has a title, a description, a source URL, and its rank. The only required input is query, and limit caps the number of results.

Use cases

  • Collect source URLs and snippets for a research topic before reading the pages.
  • Feed search results into an LLM pipeline as context for a question.
  • Check which sites rank for a brand name such as OpenAI.
  • Build a list of URLs to pass to a scraper or crawler.

Request

curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesThe search query.
limitintegerNoMaximum number of results to return.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "web": [
      {
        "description": "OpenAI | Research & Deployment\n\n## Latest research\n[An OpenAI model proposes a s…",
        "position": 1,
        "title": "OpenAI | Research & Deployment",
        "url": "https://openai.com/"
      }
    ]
  },
  "id": "01a1a053-d894-7766-8468-2b045150832c",
  "success": true
}

Response fields

FieldMeaning
data.web[]List of search results, in ranked order.
data.web[].positionRank of the result in the list. 1 is the first result.
data.web[].titleTitle of the web page.
data.web[].urlSource URL of the page.
data.web[].descriptionText taken from the page. It can be a short summary or raw page text with Markdown, links, and line breaks.
successtrue when the search call worked.
idUnique ID of this search response, in UUID format.

Notes

  • query can be up to 500 characters. limit accepts whole numbers from 1 to 100.
  • The description value can contain Markdown and image links, so clean it before showing it to users.
  • To read the full content of a result, pass its url to Firecrawl Page Scraper.
  • To list other pages on the same site, pass the url to Firecrawl URL Discovery.

Pricing

$0.015 per successful call. Failed calls are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
Firecrawl$0.015 per callJSON
FirecrawlFrom $0.0075 per callAsync JSON
FirecrawlFrom $0.0075 per callAsync JSON
Firecrawl$0.0075 per callJSON
Firecrawl$0.0075 per callJSON

Questions

FAQ

How do I use the Firecrawl Web Search API?

Send a POST request to https://api.sandbase.ai/v1/api/firecrawl/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Firecrawl Web Search API cost?

$0.015 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Firecrawl Web Search API accept?

Required: query (string). Optional: limit (integer). The Parameters table and the Playground on this page list every field.

What does the Firecrawl Web Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Firecrawl developer account or API key?

No. Firecrawl Web Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Firecrawl API access separately.