API Reference

Raw Fetch

POST/v1/raw_fetch
Try in Playground

Authorization

Use your API key as a bearer token.

Authorization: Bearer qk_your_api_key

Request Body

application/json
FieldTypeRequiredDescription
urlstringRequiredThe URL to fetch.
format"markdown" | "html"OptionalOutput format for fetched content. Defaults to `markdown`.
use_safeguardbooleanOptionalEnable prompt-injection detection when `format` is `markdown`.
use_safeguard=true is not supported when format=html.

Response

Successful response payload from the OpenAPI schema.

FieldTypeRequiredDescription
resultstringRequiredFetched content.
unsafebooleanOptionalTrue when safeguard marks content as unsafe.

Pricing

Base cost: 1 credit • With safeguard: 2 credits