Skip to content
Webfold Docs
Esc
↑↓navigate↵open⌘Jpreview

Scrape a web page

Fetch a URL and convert it to Markdown using webfold. The response is returned as plain text Markdown, not JSON.

POST/v1/web/scrape
Authorization
AuthorizationBearer token (JWT) · headerrequired

Bearer API key issued for your account. Send Authorization: Bearer <key>.

Request body
requiredapplication/json
urlstring<uri>required
Responses
200

Markdown content

string
400

Bad request

string
401

Missing or invalid bearer token

string
403

Billing or plan entitlement blocked the request

string
502

Upstream service (arXiv, YouTube, web page) failed

string
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.webfold.ai/v1/web/scrape' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://example.com"
}'
Response
"string"