Docs · Getting started

Quickstart

Get your first response in under five minutes.

POST /v1/scrape

Sign up at app.datasonar.dev, grab your API key, then run the example below. Every endpoint follows the same Bearer authentication pattern, so once one works, they all work.

Request

curl -X POST https://api.datasonar.dev/v1/scrape \
  -H "Authorization: Bearer osk_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "format": "markdown"}'

Response

{
  "status": "success",
  "url": "https://example.com",
  "content": "# Example Domain\n\nThis domain is for use in illustrative examples...",
  "format": "markdown",
  "time_ms": 412
}

Related