Schema, data formats and cache
This document provides foundational information that you might need to know if you want to call the Trustpilot API.
Schema
An API schema defines the types, constraints and structure of any data passed between a client and a server.
Trustpilot’s API schema supports the HTTPS protocol. Other protocols, such as RPC are not supported.
Data formats
The Trustpilot API supports JSON as the request and response format. The Cross-Origin Resource Sharing (CORS) policy is enabled for Get requests. All date/time responses are returned using ISO 8601 format using UTC.
Cache
Trustpilot caches some results on API servers. Cached results will include HTTP header information about client cacheability.