Skip to content
Zaraftis
Esc
↑↓navigate↵open⌘Jpreview

Get a competitor list

Returns up to 10 competitors, closest first, each with its website and the reason it was chosen. competitors is empty until the list is completed.

GET/competitor-lists/{competitor_list_id}
Authorization
AuthorizationBearer token · headerrequired

API key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.

Path parameters
competitor_list_idstring<uuid>required
Responses
200

One competitor list

successbooleanrequired
dataCompetitorListObjectrequired

Up to 10 competitors, closest first. competitors is empty until status is completed. Save the ones to track with PATCH /v1/visibility-setups/{setup_id}.

Show properties
idstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
brand_idstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
countrystringrequired
min length 2 · max length 2
statusstringrequired
Allowed:queuedrunningcompletedfailed
competitorsobject[]required
Show properties
Array of object
namestringrequired
min length 1
urlstringrequired
min length 1
reasonstring | nullrequired
created_atstringrequired
completed_atstring | nullrequired
request_idstringrequired
min length 1
404

not_found: unknown id, or an id this key cannot see

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
Request
curl -X GET 'https://api.zaraftis.com/v1/competitor-lists/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "success": true,
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da",
    "country": "st",
    "status": "queued",
    "competitors": [
      {
        "name": "string",
        "url": "string",
        "reason": "string"
      }
    ],
    "created_at": "string",
    "completed_at": "string"
  },
  "request_id": "string"
}

Was this page helpful?