POST /v1/data/url/scrape
Changed onPublic Data API facade for URL scraping. Supports normal API-key billing and accountless x402 quotes when called without Authorization or x-api-key and with x-x402: true. The request body uses urls: [...].
Request
- Base URLhttps://api.nano-gpt.com/api
- URLhttps://api.nano-gpt.com/api/v1/data/url/scrape
- Auth
- API key in header x-api-key
- or HTTP bearer
- or none
Headers
x-x402'true'
Set to true on unauthenticated accountless x402 quote requests. Without this header, unauthenticated requests return 401 missing_api_key.
Request body
Example request
{
"urls": [
"https://example.com/article",
"https://blog.com/post"
]
}Response
Web scraping response with results for each URL
Changes
- info
endpoint added
- info