TermHub

Developer centre

Build with TermHub

Use versioned UK terminology through a server-side API, or keep a database you control current with the automatic SQL sync agent.

Quickstart

Make your first call

  1. Create a credential in API.
  2. Save the one-time API secret, beginning th_live_.
  3. Call source discovery, then search.
curl https://www.termhub.co.uk/api/v1/sources \
  -H "Authorization: Bearer YOUR_API_SECRET"

Automatic SQL delivery

Your database, kept current

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.

Set up automatic sync

Security

Use the right credential

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.

Search published terminology

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.

SQL delivery quickstart

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.