Felo API PlatformFelo API Platform

Data 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Необязательный