Skip to main content
POST
/
api
/
research
/
extract
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/research/extract \
  --header 'Content-Type: application/json' \
  --data '
{
  "urls": [
    "<string>"
  ],
  "objective": "<string>",
  "full_content": false
}
'
{
  "status": "success",
  "results": [
    {
      "url": "<string>",
      "title": "<string>",
      "publish_date": "<string>",
      "excerpts": [
        "<string>"
      ],
      "full_content": "<string>"
    }
  ],
  "errors": [
    {}
  ]
}

Body

application/json
urls
string<uri>[]
required

URLs to extract content from (max 10).

Maximum array length: 10
objective
string

What information to focus on (optional, max 3000 chars).

full_content
boolean
default:false

Return full page content instead of focused excerpts.

Response

200 - application/json

Extracted content from URLs

status
enum<string>
Available options:
success,
error
results
object[]
errors
object[]

URLs that failed to extract.