Skip to content

By default Truto doesn't cache vendor data. Every Unified API call is a live call to the vendor API (unless you read from SuperQuery with truto_super_query), on the request thread, returning the vendor's response shaped into Truto's unified envelope. That single design choice shapes how you think about rate limits, filtering, and latency.

You share the vendor's rate limit

Because Truto doesn't run a background sync, the rate-limit budget your customer has at the vendor is the budget your app has too. Truto adds its own limits in front: 50 requests every 10 seconds per integrated account, plus per-API-token limits — see Rate limits.

When the integration is configured to read the vendor's rate-limit headers, Truto normalizes them into three standard response headers — ratelimit-limit, ratelimit-remaining, ratelimit-reset — so your client can back off the same way regardless of which vendor it just called. The same normalization applies to both /unified/... and /proxy/... calls; /proxy/... is Truto's equivalent of what other Unified-API providers call pass-through.

$ curl -i "https://api.truto.one/unified/crm/contacts?integrated_account_id=$ACCOUNT_ID" \
    -H "Authorization: Bearer $TRUTO_API_TOKEN"
HTTP/2 200
content-type: application/json; charset=utf-8
ratelimit-limit: 110;w=10
ratelimit-remaining: 109
 
{ "result": [ /* ... */ ], "next_cursor": "..." }

ratelimit-limit carries the vendor's window in the ;w=<seconds> parameter when the vendor exposes one (HubSpot does; many don't). HubSpot reports its 10-second window but no reset time, so ratelimit-reset is absent. If the vendor doesn't return rate-limit information, or the integration isn't configured to read it, the headers are absent.

When the vendor rate-limits a call, Truto answers 429 with truto_is_remote_error: true. Retry-After is set when the vendor sent one or the integration defines it; when it's missing, back off exponentially. The rate-limit headers come too when the integration reads them, and ratelimit-reset, when present, tells you how many seconds until the vendor's window opens again. Some integrations recognize a vendor's rate-limit response that isn't a 429, and Truto still answers 429.

For the header semantics and a longer worked example, see Rate limits in Truto API.

Filter availability is per integration

The Unified API takes the same parameter names across vendors (created_at[gt], updated_at[lte], sort_by). What each vendor honors is up to its mapping; in, ne, or and and are Admin and SuperQuery operators. If the vendor doesn't support a filter, Truto silently drops it rather than fake it server-side; the cost of doing otherwise is fetching every record and filtering on the request thread, and that loses you the rate-limit budget above.

Before relying on a filter, ask the integration what it supports. The meta endpoint returns the merged JSON schema for one method on one integration mapping, and query_schema lists the fields that vendor's list lets you filter on. The response below is trimmed:

$ curl "https://api.truto.one/unified/crm/contacts/hubspot/meta/list" \
    -H "Authorization: Bearer $TRUTO_API_TOKEN"
{
  "method": "list",
  "query_schema": {
    "type": "object",
    "properties": {
      "created_at": { "type": "string", "format": "date-time", "mapping": "created_at" },
      "updated_at": { "type": "string", "format": "date-time", "mapping": "updated_at" },
      "first_name": { "type": "string", "mapping": "first_name" },
      "last_name": { "type": "string", "mapping": "last_name" },
      "email_addresses": { "type": "array", "mapping": "email_addresses" },
      "sort_by": { "type": "object", "mapping": "sort_by" }
    }
  },
  "default_query": {}
}

Anything not listed under query_schema.properties is ignored. query_schema lists which fields you can filter on, not which operators work on them. Try an operator against a test account before you rely on it.

For the full operator grammar see Querying in Truto API.

Latency tracks the vendor

A unified call is a vendor call plus a small Truto hop. Truto's hop is bounded; the vendor's isn't. p99 latency on /unified/... is roughly the vendor's p99 plus a few tens of milliseconds. That's fine for request-time use cases (pulling a contact when a user opens a record), and it's the wrong shape for jobs you'd otherwise run on a schedule against millions of records.

For workloads where you need durable streaming, retries, pagination at scale, or the data landed in your warehouse, use RapidBridge — the same Unified API resources, executed as a background pipeline writing to a webhook, datastore, or SuperQuery destination. For "tell me when something changed at the vendor" use cases, use Webhooks.