Open Transport Hub Health API
The Health API from Open Transport Hub — 1 operation(s) for health.
The Health API from Open Transport Hub — 1 operation(s) for health.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/opentransporthub-com:opentransporthub-com-health-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OTH Hub Health API
version: 0.2.0
tags:
- name: Health
paths:
/health:
/discover:
post:
summary: Discover
operationId: discover_discover_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DiscoverRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/partners/{partner_id}:
get:
summary: Get Partner
operationId: get_partner_partners__partner_id__get
parameters:
- name: partner_id
in: path
required: true
schema:
type: string
title: Partner Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/partners:
post:
summary: Register Partner
operationId: register_partner_partners_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RegisterRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/register:
post:
summary: Oth Register
operationId: oth_register_register_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CarrierRegister'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/register/verify-domain:
post:
summary: Oth Verify Domain
operationId: oth_verify_domain_register_verify_domain_post
parameters:
- name: id
in: query
required: true
schema:
type: string
title: Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
summary: Oth Verify Domain
operationId: oth_verify_domain_register_verify_domain_get
parameters:
- name: id
in: query
required: true
schema:
type: string
title: Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
summary: Health
operationId: health_health_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Health
components:
schemas:
CarrierRegister:
properties:
company:
type: string
title: Company
country:
type: string
title: Country
email:
type: string
title: Email
domain:
type: string
title: Domain
vat:
anyOf:
- type: string
- type: 'null'
title: Vat
website:
anyOf:
- type: string
- type: 'null'
title: Website
service_categories:
items:
type: string
type: array
title: Service Categories
default: []
regions:
anyOf:
- type: string
- type: 'null'
title: Regions
message:
anyOf:
- type: string
- type: 'null'
title: Message
type: object
required:
- company
- country
- email
- domain
title: CarrierRegister
DiscoverRequest:
properties:
service_category:
type: string
title: Service Category
origin_country:
type: string
title: Origin Country
destination_country:
type: string
title: Destination Country
origin_city:
anyOf:
- type: string
- type: 'null'
title: Origin City
destination_city:
anyOf:
- type: string
- type: 'null'
title: Destination City
volume_m3:
anyOf:
- type: number
- type: 'null'
title: Volume M3
language:
anyOf:
- type: string
- type: 'null'
title: Language
include_unverified:
type: boolean
title: Include Unverified
default: false
type: object
required:
- service_category
- origin_country
- destination_country
title: DiscoverRequest
RegisterRequest:
properties:
name:
type: string
title: Name
country:
type: string
title: Country
service_categories:
items:
type: string
type: array
title: Service Categories
contact_email:
type: string
title: Contact Email
type: object
required:
- name
- country
- service_categories
- contact_email
title: RegisterRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError