Skip to main content
POST
/
api
/
nhs
/
medicines
/nhs/medicines
curl --request POST \
  --url https://api.anysite.io/api/nhs/medicines \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "slug": "<string>",
  "timeout": 300
}
'
[
  {
    "title": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "@nhs_medicine",
    "summary": "<string>",
    "description": "<string>",
    "sections": [],
    "published_at": "<string>",
    "updated_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
slug
string
required

Medicine page identifier

Minimum string length: 1
Examples:

"paracetamol-for-adults"

"ibuprofen-for-children"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

title
string
required
alias
string
required
url
string
required
@type
string
default:@nhs_medicine
summary
string | null
description
string | null
sections
NhsMedicineSection · object[]
published_at
string | null
updated_at
string | null