数据 API / Exa / Contents
Extract full page contents for a set of URLs.
Fetch page text and metadata for URLs you already have. ids is required and takes the id values from post_exa_search — which are plain URLs, so any URL works. Toggle text, highlights, summary, subpages and livecrawl. Returns results[] with id, title, url, author and text, plus a statuses[] array giving per-URL status and source — read it, because a URL that could not be fetched is reported there rather than raising. Cached results are served instantly; a miss falls back to a live crawl. For a whole site rather than a URL list, post_firecrawl_crawl.
参数
没有路径、查询或请求头参数。
请求体
idsstring[]必填The URLs (or Exa result ids) to fetch contents for.
textboolean可选Return the full page text.
highlightsboolean可选Return highlighted relevant snippets.
summaryboolean可选Return an AI-generated summary of the page.
subpagesinteger可选Number of linked subpages to also fetch.
livecrawlstring可选允许值: always · fallback · never
Freshness policy: always live-crawl, fall back to live crawl on cache miss, or never live-crawl.
请求示例
curl -X POST "https://openapi.felo.ai/v1/beta/exa/contents" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"<string>"
],
"text": false,
"highlights": false,
"summary": false,
"subpages": 0,
"livecrawl": "<string>"
}'响应
响应字段
requestIdstring可选resultsobject[]可选titlestring可选urlstring可选publishedDatestring可选authorstring可选idstring可选textstring可选highlightsstring[]可选summarystring可选