Reports
Get URL Content
Changed onReturn the scraped markdown content of a source URL. Use the URLs report to discover URLs.
post/sources/urls/content
Request
- Base URLhttps://api.peec.ai/customer/v1
- URLhttps://api.peec.ai/customer/v1/sources/urls/content
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or HTTP bearer
Query parameters
project_idstring
Required if using a company api key
Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
Request body
Example request
{
"project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
"url": "https://example.com/blog/page1",
"max_length": 100000,
"version": 2
}Response
Success
Example response
{
"data": {
"url": "https://example.com/blog/page1",
"domain": "example.com"
}
}Changes
- warning
added the new
REVIEWenum value to the/response property for the response status - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: multipart/form-data)
- warning