Skip to main content
POST
/
api
/
nhs
/
medicines
/
search
/nhs/medicines/search
curl --request POST \
  --url https://api.anysite.io/api/nhs/medicines/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "letter": "<string>",
  "keyword": "<string>"
}
'
[
  {
    "title": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "@nhs_medicine_search_item",
    "see_also": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
letter
string | null

Restrict to medicines starting with this letter (A-Z)

keyword
string | null

Match medicines whose title contains this text

Response

Successful Response

title
string
required
alias
string
required
url
string
required
@type
string
default:@nhs_medicine_search_item
see_also
string | null