Web

Fetches a single page as clean markdown. Optional extract runs an AI question over the page content. Synchronous. Charges credits on success.

post/web/read

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
url, string required

The URL to read.

formats, string[]

Output formats: markdown (default), html, screenshot.

only_main_content, boolean

Strip nav/ads/footers (default true).

extract, string

Optional question to answer using the page content.

Response

OK

object required
url, string
title, string
markdown, string
metadata, object
html, string

Only when requested via formats.

screenshot_url, string

Only when requested via formats.

extracted, string

AI answer — only when extract is provided.

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision