POST
/
env
/
scrape
curl --location \
--request POST 'https://api.notte.cc/env/scrape' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer your-api-key' \
--data '{
  "session_id": "abc123",
  "url": "https://example.com"
}'
{
  "session_id": "abc123",
  "title": "Example Domain",
  "url": "https://example.com",
  "timestamp": "2024-01-07T12:34:56Z",
  "screenshot": null,
  "data": {
    "markdown": "## Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this\n    domain in literature without prior coordination or asking for permission.\n\nMore information..."
    "images": null,
    "structured": null
  },
  "space": null
}
curl --location \
--request POST 'https://api.notte.cc/env/scrape' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer your-api-key' \
--data '{
  "session_id": "abc123",
  "url": "https://example.com"
}'
{
  "session_id": "abc123",
  "title": "Example Domain",
  "url": "https://example.com",
  "timestamp": "2024-01-07T12:34:56Z",
  "screenshot": null,
  "data": {
    "markdown": "## Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this\n    domain in literature without prior coordination or asking for permission.\n\nMore information..."
    "images": null,
    "structured": null
  },
  "space": null
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
session_id
string | null
keep_alive
boolean
default:false
session_timeout
integer
default:10
screenshot
boolean | null
url
string | null

Response

200
application/json
Successful Response
session_id
string
required
title
string
required
url
string
required
timestamp
string
required
error
string | null
screenshot
file | null
data
string
default:
space
object | null