Find a brand's competitors
Zaraftis researches the web for the brand’s closest competitors in one market. It costs 90 credits (free for unlimited workspaces) and answers 202 with a task. When the task completes, its competitor_list_id names the list. The list is a proposal: save the competitors to track with PATCH /v1/visibility-setups/{setup_id}. A failed task releases the credits.
/brands/{brand_id}/competitor-listsAuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
AuthorizationOAuth2 access token · headerrequiredOAuth 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.
brand_idstring<uuid>requiredIdempotency-KeystringrequiredA new value, such as a UUID, for each new request. Send the same value to retry a request safely; see https://docs.zaraftis.com/conventions#safe-retries-with-idempotency-key.
application/jsoncountrystringrequiredThe competitor list task was accepted
successbooleanrequireddataCompetitorListAcceptedObjectrequiredShow propertiesHide properties
task_idstring<uuid>requiredtask_urlstringrequiredbrand_idstring<uuid>requiredstatusstringrequiredbillingBillingObject | nullrequiredShow propertiesHide properties
operationstringrequiredai_platform_querysite_auditauto_visibility_setupcommerce_collectioncompetitor_generationcredit_catalog_versionstringrequiredquantity_requestedintegerrequiredunit_creditsinteger | nullrequiredShow propertiesHide properties
integernullmaximum_creditsintegerrequiredreserved_creditsintegerrequiredbilling_statusstringrequiredreserveddeductedreleasedcredits_deductedintegercredits_releasedintegerwallet_history_idstring | nullrequiredShow propertiesHide properties
stringnullnullrequest_idstringrequiredbad_request or validation_failed
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequiredwallet_not_activated, insufficient_credits, or payment_action_required
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequirednot_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequiredconflict, duplicate_url, or idempotency_conflict
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequiredrate_limited: wait the Retry-After seconds
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired