Skip to content
cresvaDevelopers

The trust score, its components, and how much was measured

GET/api/storefront/{brandId}/trust
No keyCallable anonymously. Rate limited by IP.10 requests a minute

A component with no evidence behind it is `null`, never a plausible middle number. Read `measured_components` before trusting a component value, and `measured_weight` before trusting the tier: below 0.5 no tier is published and `tier` reads `unrated`. Check `seeded` before quoting any number: a seeded brand answers every query and means nothing about a real merchant.

Parameters

brandIdstring · pathrequiredThe storefront's brand id. There is no public endpoint that maps a domain to a brand id; ask the merchant for their storefront URL, the id is in it.

Request

bash
BRAND_ID=cmqmr1f6j0003la04nu93f4k4
curl "https://cresva.ai/api/storefront/$BRAND_ID/trust"

Response

Captured from production on 2026-09-16: 200 in 162ms, X-OSP-Version: 2026-03-01. This is what the endpoint returned, not an example of what it might.

JSON
{
  "brand_id": "cmqmr1f6j0003la04nu93f4k4",
  "brand_name": "Cresva",
  "score": 50,
  "unweighted_score": 62.5,
  "tier": "bronze",
  "trend": "stable",
  "badges": [],
  "components": {
    "data_accuracy": 50,
    "fulfillment_speed": null,
    "return_rate": null,
    "negotiation_fairness": 50,
    "response_reliability": 50,
    "dispute_record": null,
    "customer_satisfaction": 50
  },
  "measured_components": {
    "data_accuracy": true,
    "fulfillment_speed": false,
    "return_rate": false,
    "negotiation_fairness": true,
    "response_reliability": true,
    "dispute_record": false,
    "customer_satisfaction": true
  },
  "measured_weight": 0.55,
  "provisional": true,
  "provisional_reason": "No completed transaction has been recorded for this brand, so nothing here rests on observed behaviour.",
  "seeded": false,
  "verified_transactions": 0,
  "member_since": "2026-06-20T19:27:02.683Z",
  "calculated_at": "2026-08-23T09:00:52.039Z",
  "certification": null,
  "_cache": "miss"
}

Response codes

200The trust score.
scorenumber
unweighted_scorenumber
tierstring, one of platinum, gold, silver, bronze, unrated
componentsobject
measured_componentsobject
measured_weightnumber, max 1
provisionalboolean
provisional_reasonstring or null
seededboolean
401The key does not match any active key.
erroranyTwo shapes exist across this API and that is deliberate rather than untidy. Each route kept the error shape it already used, so an existing client's error handling keeps working. See x-cresva-error-shapes.
403The key is valid but belongs to a different brand than the one in the path. Keys are scoped to one brand and do not travel.
erroranyTwo shapes exist across this API and that is deliberate rather than untidy. Each route kept the error shape it already used, so an existing client's error handling keeps working. See x-cresva-error-shapes.
404No such brand.
erroranyTwo shapes exist across this API and that is deliberate rather than untidy. Each route kept the error shape it already used, so an existing client's error handling keeps working. See x-cresva-error-shapes.
429Over the rate limit.
erroranyTwo shapes exist across this API and that is deliberate rather than untidy. Each route kept the error shape it already used, so an existing client's error handling keeps working. See x-cresva-error-shapes.
503The rate limiter could not be reached, so the request was refused rather than served unmetered. Deliberately not a 429: the caller has done nothing wrong and the fault is ours.
erroranyTwo shapes exist across this API and that is deliberate rather than untidy. Each route kept the error shape it already used, so an existing client's error handling keeps working. See x-cresva-error-shapes.

Generated from the storefront OpenAPI document at growthagents 269d7898b, sha256 047fe4d301258100. Nothing on this page was typed by hand.