---
title: "Scrape content from a webpage"
method: POST
path: "/scrape"
---

# Scrape content from a webpage

`POST /scrape`

## Request body

- object
  - `url` string, uri, required
  - `type` 'text' | 'links' | 'images'

## Response `200`

OK

- object
  - `text` string — The text content of the webpage. Returned when type is text or not provided.
  - `links` object[] — The array of link objects with all attributes from the webpage. Returned when type is links.
  - `images` object[] — The array of image objects with all attributes from the webpage. Returned when type is images.

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/camel-ai/apis/scraper.md) · [All operations](https://skmtc.dev/camel-ai/apis/scraper/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/camel-ai/scraper/revisions/bbf59a950d35/schema)
