Trustini API for developers

Integrate the Trustini trust score into your store, your ERP or your delivery system. Simple REST API, key-based authentication, JSON responses.

Authentication

Create an API key from your Trustini profile ("Trustini API" section, Premium account required) and send it in the Authorization: Bearer tk_live_… header. Each check consumes your hourly search quota, just like in the app.

GET/api/v1/check?phone=55123456

Trust verdict for a phone number: trusted, average, risky, high_risk, insufficient (not enough data) or unknown (not known to the community).

curl "https://trustini.app/api/v1/check?phone=55123456" \
  -H "Authorization: Bearer tk_live_VOTRE_CLE"

{ "phone_masked": "+216 5• ••• 456", "known": true,
  "verdict": "trusted", "total_orders": 9,
  "delivered": 8, "failed": 1 }

POST/api/v1/check-batch

Up to 200 numbers in one request — ideal for checking tomorrow's delivery run. The whole batch must fit within your remaining hourly quota.

curl -X POST "https://trustini.app/api/v1/check-batch" \
  -H "Authorization: Bearer tk_live_VOTRE_CLE" \
  -H "Content-Type: application/json" \
  -d '{"phones": ["55123456", "98765432"]}'

POST/api/v1/orders

Push the outcome of a COD order (delivered, returned, no_answer, refused, scam) — this is the endpoint that partner platforms and delivery companies integrate.

curl -X POST "https://trustini.app/api/v1/orders" \
  -H "Authorization: Bearer tk_live_VOTRE_CLE" \
  -H "Content-Type: application/json" \
  -d '{"phone": "55123456", "full_name": "Ahmed B.",
       "amount": 89.5, "delivery_company": "Aramex",
       "order_date": "2026-08-24", "status": "delivered"}'

GET/api/v1/me

Account information: plan, credits, remaining hourly quota.

curl "https://trustini.app/api/v1/me" \
  -H "Authorization: Bearer tk_live_VOTRE_CLE"

WooCommerce plugin

Show the Trustini verdict directly in your WooCommerce orders (colored badge on the order list and detail page) and, optionally, push delivery outcomes to Trustini automatically.

Download the plugin

Installation: Plugins → Add New → Upload the zip → Activate, then paste your API key in Settings → Trustini.