Skip to Content

Markets

Events associés : listing.changed

L’objet Listing

Attributs

  • idstring

    Identifiant unique de l'objet (préfixé, opaque).

  • objectstring

    listing

  • brandstring

    La marque à laquelle l'objet appartient (br_…).

  • locationstringnullable

    The establishment the listing is about (loc_…), null for a listing of the brand as a whole.

  • platformstring

    A key of the platform registry (google, doctolib, planity…), other for an unknown site.

  • platform_labelstring
  • urlstring
  • statusenum

    Valeurs possibles : pending · ok · unreadable · not_found

  • status_reasonenumnullable

    Why the last read of a listing gave nothing (status unreadable).

    Valeurs possibles : robots · blocked · timeout · http_error · no_data · platform_unreadable · unavailable

  • factsobjectnullable

    The last facts read on the page — kept when a later read fails. Null until the first successful read.

    Afficher les attributs enfants
    • namestringnullable
    • addressstringnullable
    • postal_codestringnullable
    • citystringnullable
    • phonestringnullable
    • opening_hoursarray of stringnullable
    • websitestringnullable
    • categoriesarray of stringnullable
    • description_lengthintegernullable
    • services_countintegernullable
    • photos_countintegernullable
    • latitudenumbernullable
    • longitudenumbernullable
    • claimedbooleannullable

      Google only.

  • statsobjectnullable

    Review aggregates only: never a text or an author. A null figure was not read, it is not 0.

    Afficher les attributs enfants
    • ratingnumbernullable
    • reviews_countintegernullable
    • last_review_atstringnullable
  • checked_atstringnullable

    The last read, successful or not. Null while pending.

  • facts_changed_atstringnullable

    The last time a fact changed between two reads (the first read is not a change).

  • livemodeboolean

    true pour les données réelles, false pour le bac à sable du mode test.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

L'objet Listing
{ "id": "lst_031DIivuBKog78mwjgnclF", "object": "listing", "brand": "br_031DIivuBKog78mwjgnYQr", "location": "loc_031DIivuBKog78mwjgnclG", "platform": "planity", "platform_label": "Planity", "url": "https://www.planity.com/atelier-lumiere-75015-paris", "status": "ok", "status_reason": null, "facts": { "name": "Atelier Lumière", "address": "12 rue de Vaugirard", "postal_code": "75015", "city": "Paris", "phone": "+33 1 45 67 89 10", "opening_hours": [ "Tu-Sa 09:30-19:00" ], "website": "https://atelier-lumiere.fr", "categories": [ "Coiffeur" ], "description_length": 412, "services_count": 18, "photos_count": 9, "latitude": 48.8419, "longitude": 2.3003, "claimed": null }, "stats": { "rating": 4.8, "reviews_count": 326, "last_review_at": "2026-10-02" }, "checked_at": "2026-10-05T01:42:17Z", "facts_changed_at": "2026-10-05T01:42:17Z", "livemode": true, "created": 1790071451 }

L’objet Market

Attributs

  • idstring

    Identifiant unique de l'objet (préfixé, opaque).

  • objectstring

    market

  • brandstring

    La marque à laquelle l'objet appartient (br_…).

  • codestring

    ISO 3166-1 alpha-2, e.g. FR — the market parameter of the other endpoints.

  • languagestring
  • currencystring
  • statusenum

    Lifecycle of a brand market, as shown by the navbar market chips. - active → sampled every cycle, selectable everywhere. - backfill → just activated, history being rebuilt; selectable, flagged. - off → detected (Shopify Markets…) but not activated; greyed out.

    Valeurs possibles : active · backfill · off

  • sourceenum

    Where a brand market comes from: detected in the connected store (Shopify Markets, the selling countries of a WooCommerce store, the active countries of a PrestaShop store) or added by hand on « Catalogue · Marchés ».

    Valeurs possibles : shopify · woocommerce · prestashop · manual

  • domainstringnullable
  • localityobjectnullable
    Afficher les attributs enfants
    • citystring
    • regionstringnullable
    • addressstringnullable
    • phonestringnullable
    • opening_hoursstringnullable
  • is_primaryboolean
  • activated_atstringnullable
  • livemodeboolean

    true pour les données réelles, false pour le bac à sable du mode test.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

L'objet Market
{ "id": "mkt_034oH7bZpQA7N8R6s421Ry", "object": "market", "brand": "br_034CyfRFSXUqzrbzV6MAfZ", "code": "string", "language": "fr", "currency": "EUR", "status": "active", "source": "shopify", "domain": "string", "locality": { "city": "string", "region": "string", "address": "string", "phone": "string", "opening_hours": "string" }, "is_primary": true, "activated_at": "2026-09-21T02:40:00Z", "livemode": true, "created": 1790000000 }

L’objet Location

Attributs

  • idstring

    Identifiant unique de l'objet (préfixé, opaque).

  • objectstring

    location

  • brandstring

    La marque à laquelle l'objet appartient (br_…).

  • marketstring

    The market's ISO 3166-1 alpha-2 code, e.g. FR.

  • namestring
  • citystring
  • regionstringnullable
  • postal_codestringnullable
  • addressstringnullable
  • phonestringnullable
  • opening_hoursstringnullable
  • urlstringnullable
  • sourceenum

    Where an establishment row came from: read on the brand's site, or typed by an editor.

    Valeurs possibles : site · manual

  • trackedboolean

    Whether the query panel writes queries for it.

  • livemodeboolean

    true pour les données réelles, false pour le bac à sable du mode test.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

L'objet Location
{ "id": "loc_0342TwLkZ7AlSAO7Ctrcpb", "object": "location", "brand": "br_034CyfRFSXUqzrbzV6MAfZ", "market": "FR", "name": "Nordvelo", "city": "string", "region": "string", "postal_code": "string", "address": "string", "phone": "string", "opening_hours": "string", "url": "https://hooks.example.com/skoup", "source": "site", "tracked": true, "livemode": true, "created": 1790000000 }

List listings

GET/v1/brands/{brand}/listings

The online listings of a local brand on third-party platforms (Google Maps, Doctolib, Planity…), read every week on their public page: the last facts read (name, address, phone, opening hours…) and the review aggregates. An unreadable listing keeps the facts of its last successful read. capability_unavailable for a brand that sells online.

Paramètres

  • brandstringobligatoire

    Brand id (br_…).

  • locationstring
  • limitinteger

    Nombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).

  • starting_afterstring

    Curseur : l'id du dernier objet de la page précédente.

Retour

Un dictionnaire dont la propriété data contient jusqu’à limit objets listing, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/listings?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "object": "list", "url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/listings", "has_more": false, "data": [ { "id": "lst_031DIivuBKog78mwjgnclF", "object": "listing", "brand": "br_031DIivuBKog78mwjgnYQr", "location": "loc_031DIivuBKog78mwjgnclG", "platform": "planity", "platform_label": "Planity", "url": "https://www.planity.com/atelier-lumiere-75015-paris", "status": "ok", "status_reason": null, "facts": { "name": "Atelier Lumière", "address": "12 rue de Vaugirard", "postal_code": "75015", "city": "Paris", "phone": "+33 1 45 67 89 10", "opening_hours": [ "Tu-Sa 09:30-19:00" ], "website": "https://atelier-lumiere.fr", "categories": [ "Coiffeur" ], "description_length": 412, "services_count": 18, "photos_count": 9, "latitude": 48.8419, "longitude": 2.3003, "claimed": null }, "stats": { "rating": 4.8, "reviews_count": 326, "last_review_at": "2026-10-02" }, "checked_at": "2026-10-05T01:42:17Z", "facts_changed_at": "2026-10-05T01:42:17Z", "livemode": true, "created": 1790071451 } ] }

List establishments

GET/v1/brands/{brand}/locations

The establishments of a local brand (a chain of practices, stores or agencies is one brand with many establishments). Empty for a brand that sells online. Queries, mentions and wrong-address alerts point at the establishment they are about.

Paramètres

  • brandstringobligatoire

    Brand id (br_…).

  • marketstring
  • trackedboolean
  • limitinteger

    Nombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).

  • starting_afterstring

    Curseur : l'id du dernier objet de la page précédente.

Retour

Un dictionnaire dont la propriété data contient jusqu’à limit objets location, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/locations?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "object": "list", "url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/locations", "has_more": false, "data": [ { "id": "loc_0342TwLkZ7AlSAO7Ctrcpb", "object": "location", "brand": "br_034CyfRFSXUqzrbzV6MAfZ", "market": "FR", "name": "Nordvelo", "city": "string", "region": "string", "postal_code": "string", "address": "string", "phone": "string", "opening_hours": "string", "url": "https://hooks.example.com/skoup", "source": "site", "tracked": true, "livemode": true, "created": 1790000000 } ] }

List markets

GET/v1/brands/{brand}/markets

The country markets of a brand. Measurements are per market: pass a market code (e.g. FR) to the endpoints that take a market.

Paramètres

  • brandstringobligatoire

    Brand id (br_…).

  • statusstring
  • limitinteger

    Nombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).

  • starting_afterstring

    Curseur : l'id du dernier objet de la page précédente.

Retour

Un dictionnaire dont la propriété data contient jusqu’à limit objets market, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/markets?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "object": "list", "url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/markets", "has_more": false, "data": [ { "id": "mkt_034oH7bZpQA7N8R6s421Ry", "object": "market", "brand": "br_034CyfRFSXUqzrbzV6MAfZ", "code": "string", "language": "fr", "currency": "EUR", "status": "active", "source": "shopify", "domain": "string", "locality": { "city": "string", "region": "string", "address": "string", "phone": "string", "opening_hours": "string" }, "is_primary": true, "activated_at": "2026-09-21T02:40:00Z", "livemode": true, "created": 1790000000 } ] }
Last updated on