Naar hoofdinhoud gaan
GET
/
v1
/
scrapes
/
{scrape_id}
Haal scrape-resultaat op
curl --request GET \
  --url https://api.olostep.com/v1/scrapes/{scrape_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "metadata": {},
  "url_to_scrape": "<string>",
  "result": {
    "html_content": "<string>",
    "markdown_content": "<string>",
    "json_content": "<string>",
    "screenshot_hosted_url": "<string>",
    "html_hosted_url": "<string>",
    "markdown_hosted_url": "<string>",
    "links_on_page": [
      "<string>"
    ],
    "page_metadata": {
      "status_code": 123,
      "title": "<string>"
    },
    "size_exceeded": true
  }
}

Autorisaties

Authorization
string
header
vereist

Bearer authenticatie header in de vorm Bearer , waarbij jouw auth token is.

Padparameters

scrape_id
string
vereist

Unieke identificatie voor de scrape die moet worden opgehaald.

Respons

Succesvolle respons met het scrape-resultaat.

id
string

Scrape ID

object
string

Het soort object. "scrape" voor dit endpoint.

created
number

Gemaakt epoch

metadata
object

Door de gebruiker gedefinieerde metadata.

url_to_scrape
string

De URL die is gescraped.

result
object