Quickstart
Make your first call
- Create a credential in API.
- Save the one-time API secret, beginning
th_live_. - Call source discovery, then search.
curl https://www.termhub.co.uk/api/v1/sources \
-H "Authorization: Bearer YOUR_API_SECRET"Developer centre
Use versioned UK terminology through a server-side API, or keep a database you control current with the automatic SQL sync agent.
Quickstart
th_live_.curl https://www.termhub.co.uk/api/v1/sources \
-H "Authorization: Bearer YOUR_API_SECRET"API contract
Use the canonical contract for endpoint shapes, authentication, response fields and errors.
Automatic SQL delivery
Install the customer-operated agent once for PostgreSQL, Microsoft SQL Server or MySQL. It discovers every entitled published release on each scheduled check; TermHub never needs inbound database access.
Access control: every check verifies your subscription. If access ends, new syncs are refused immediately; if access is restored, the installed agent resumes automatically.
Postman
Import the collection and environment. Set apiSecret as a local variable; do not sync it to a shared workspace.
Security
Key ID (th_key_) identifies a credential. API secret (th_live_) authorises requests.
Keep API secrets in a server-side secret manager, never browser or mobile code.
curl "https://www.termhub.co.uk/api/v1/search?q=amoxicillin" \
-H "Authorization: Bearer YOUR_API_SECRET"Results include code, display, active state, source, release version and release date.
Download the TermHub connector and follow the PostgreSQL, MySQL and Microsoft SQL Server setup guide. The connector runs in your environment and does not send database credentials to TermHub.