Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Extract full page contents for a set of URLs.

伺服器:https://openapi.felo.ai
用戶端程式庫

Exa

​

Semantic search, page content, cited answers and asynchronous research.

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.

請求本文
必填
application/json
  • ids
    類型: array string[]
    必填

    The URLs (or Exa result ids) to fetch contents for.

  • highlights
    類型: boolean

    Return highlighted relevant snippets.

  • livecrawl
    類型: string 列舉

    Freshness policy: always live-crawl, fall back to live crawl on cache miss, or never live-crawl.

    值
    • always
    • fallback
    • never
  • subpages
    類型: integer

    Number of linked subpages to also fetch.

  • summary
    類型: boolean

    Return an AI-generated summary of the page.

  • text
    類型: boolean

    Return the full page text.

回應
  • 200
    類型: object

    Contents fetched successfully.

    • requestId
      類型: string
    • results
      類型: array object[]
      • author
        類型: string
      • highlights
        類型: array string[]
      • id
        類型: string
      • publishedDate
        類型: string
      • summary
        類型: string
      • text
        類型: string
      • title
        類型: string
      • url
        類型: string
    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/exa/contents
curl https://openapi.felo.ai/v1/beta/exa/contents \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "ids": [
    "https://example.com/article"
  ],
  "text": true,
  "highlights": true,
  "summary": true,
  "subpages": 1,
  "livecrawl": "always"
}'
{
  "requestId": "string",
  "results": [
    {
      "title": "string",
      "url": "string",
      "publishedDate": "string",
      "author": "string",
      "id": "string",
      "text": "string",
      "highlights": [
        "string"
      ],
      "summary": "string"
    }
  ]
}
Extract full page contents for a set of URLs.