Skip to content

Firecrawl Search API

Firecrawl is an agentic crawler and search engine designed specifically to turn web pages into clean, LLM-ready markdown or structured data.

Endpoint

POST https://llm.siraya.pro/v1/firecrawl

Request Parameters

Parameter Type Required Description
model string Yes Use firecrawl-search.
query string Yes The search query.
limit integer No Max number of pages to crawl (default: 5, range: 1-100).
timeout integer No Max time allowed for the request in milliseconds.
country string No Search from a specific country.

Example Request

curl https://llm.siraya.pro/v1/firecrawl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{
    "model": "firecrawl-search",
    "query": "Recent news about SpaceX Starship flight 6",
    "limit": 3
  }'
import requests

url = "https://llm.siraya.pro/v1/firecrawl"
headers = {"Authorization": "Bearer <API_KEY>"}
data = {
    "model": "firecrawl-search",
    "query": "Recent news about SpaceX Starship flight 6",
    "limit": 3
}

response = requests.post(url, headers=headers, json=data)
print(response.json())

Response

Returns a success indicator and a data object containing the crawled results with cleaned page content.