REST API Reference
6.1 API Overview
OTR provides a free REST API that allows anyone to query a domain’s trust score. This API is the core interface of the OTR protocol — AI agents and developers use it to retrieve trust data for any merchant. Base URL:https://orbexa.io/api/otr/verify/:domain
Key features:
- Free to use, no API key required
- Returns complete six-dimension scores with signal details
- All data is derived from publicly verifiable sources
- JSON response format
6.2 Verification Endpoint
GET /api/otr/verify/:domain
Query the OTR trust score for a specified domain. Request example:| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The domain to query (without protocol prefix) |
Response Structure
The response is a JSON object containing the following top-level fields:Response Field Reference
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
name | string | Merchant name (brand name takes priority) |
trust_score | number | Composite trust score from 0 to 100 |
badge | string | PLATINUM / GOLD / SILVER / BRONZE / UNRATED |
industry | string | Industry classification |
dimensions | object | Scores and signal details for all six dimensions |
entity_data | object | Third-party verified entity information |
agent_commerce | object | AI agent commerce capability declarations |
scanned_at | string | Timestamp of the most recent scan (ISO 8601) |
otr_id | string | Unique OTR identifier |
Dimension Signal Structure
Each dimension contains asignals array with all signals for that dimension:
| Field | Type | Description |
|---|---|---|
signal_name | string | Signal identifier |
status | string | detected / not_found / not_scanned / fetch_failed |
value | any | Signal value (boolean, string, or number) |
evidence | string | Human-readable evidence description |
source_url | string | Verifiable data source link |
6.3 Well-Known Endpoint
OTR also provides a standard.well-known endpoint that conforms to the Web service discovery specification:
GET /.well-known/otr/verify/:domain
Returns the same data structure as the primary API, following the.well-known URI specification (RFC 8615).
6.4 Rate Limiting
The API has basic rate-limiting protections:| Scenario | Limit |
|---|---|
| Normal requests | Fair use, no hard limit |
| Batch queries | Recommended 1-second interval |
| Abusive requests | Temporarily blocked |
6.5 Integration Examples
JavaScript / Node.js
Python
cURL
6.6 Querying with AI Agents
You can ask AI assistants such as ChatGPT or Claude to query and analyze trust scores on your behalf. Example prompt:6.7 Self-Hosted Trust Assessment
If you want to build your own trust assessment system (for example, to evaluate only your own supply chain), the core logic of the OTR protocol is open-source:- OTR Protocol Specification: github.com/yb48666-ctrl/OTR-Protocol-by-orbexa
- All data sources are public: GLEIF, Wikidata, Finnhub, SEC EDGAR, DNS records, SSL certificates, and more
- You can customize weights and signals to fit your requirements
Next chapter: MCP Server — Trust Query Tool — Enable AI agents to invoke OTR trust queries directly via the MCP protocol