POST
/
v1
/
web
/
markdown
Extract markdown from a web page
curl --request POST \
  --url https://api.weblinq.dev/v1/web/markdown \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "waitTime": 0
}'
{
  "success": true,
  "data": {
    "markdown": "<string>",
    "metadata": {
      "title": "<string>",
      "description": "<string>",
      "url": "<string>",
      "timestamp": "<string>",
      "wordCount": 123
    }
  },
  "creditsCost": 123,
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter your API token or session token

Body

application/json

Markdown extraction parameters

The body is of type object.

Response

200
application/json

Markdown extracted successfully

The response is of type object.