POST
/
fetch
⬇️ Fetch
curl --request POST \
  --url https://api.linkup.so/v1/fetch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://docs.linkup.so",
  "includeRawHtml": false,
  "renderJs": false,
  "extractImages": false
}'
{
  "mardown": "Get started for free, no credit card required..."
}

Get your API key

Create a Linkup account for free to get your API key.
The /fetch endpoint retrieves a markdown representation of a webpage at the given URL, with the ability to render the Javascript or not.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required

The URL of the webpage you want to fetch.

Example:

"https://docs.linkup.so"

includeRawHtml
boolean
default:false

Defines whether the API should include the raw HTML of the webpage in its response.

renderJs
boolean
default:false

Defines whether the API should render the JavaScript of the webpage.

extractImages
boolean
default:false

Defines whether the API should extract the images from the webpage in its response.

Response

Successful response

The response from the /fetch endpoint.

markdown
string

The clean markdown version of the webpage.