Skip to content

Get a PDP's raw body

GET/v1/pdps/{id}/raw/{name}

Get one body read for a PDP, by the name GET /v1/pdps/{id}/raw lists it under.

Authorization
header · required
Bearer <Extralt API key>
id
path · string · required

PDP id

name
path · string · required

Body name, such as page

Response

200 OK · application/json

The body

body
string
kind
string

html, json or text.

name
string

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

The request is invalid

404

Not found

Request · cURL
curl -X GET 'https://api.extralt.com/v1/pdps/234070802181193728/raw/page' \
  -H "Authorization: Bearer $EXTRALT_API_KEY"
Response · 200
{
  "body": "<html><head><title>Trail Runner 2</title></head><body><h1>Trail Runner 2</h1></body></html>",
  "kind": "html",
  "name": "page"
}