Skip to main content
POST
/
web-search
/
open-urls
Execute Open Urls
curl --request POST \
  --url https://cloud.onyx.app/api/web-search/open-urls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "urls": [
    "<string>"
  ]
}
'
{
  "results": [
    {
      "document_citation_number": 123,
      "content": "<string>",
      "unique_identifier_to_strip_away": "<string>",
      "type": "open_url"
    }
  ],
  "provider_type": "onyx_web_crawler"
}

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Body

application/json
urls
string[]
required

URLs to fetch using the configured content provider.

Minimum array length: 1

Response

Successful Response

results
LlmOpenUrlResult · object[]
required
provider_type
enum<string> | null
Available options:
onyx_web_crawler,
firecrawl