Obtenir une marque
curl --request GET \
--url https://www.qwairy.co/api/v1/brands/{brandId} \
--header 'Authorization: <authorization>'import requests
url = "https://www.qwairy.co/api/v1/brands/{brandId}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://www.qwairy.co/api/v1/brands/{brandId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"brand": {
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"description": "<string>",
"createdAt": "<string>",
"stats": {
"promptsCount": 123,
"answersCount": 123,
"competitorsCount": 123
}
}
}Marques
Obtenir une marque
Récupérez le détail d’une marque précise.
GET
https://www.qwairy.co
/
api
/
v1
/
brands
/
{brandId}
Obtenir une marque
curl --request GET \
--url https://www.qwairy.co/api/v1/brands/{brandId} \
--header 'Authorization: <authorization>'import requests
url = "https://www.qwairy.co/api/v1/brands/{brandId}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://www.qwairy.co/api/v1/brands/{brandId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"brand": {
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"description": "<string>",
"createdAt": "<string>",
"stats": {
"promptsCount": 123,
"answersCount": 123,
"competitorsCount": 123
}
}
}Récupère une marque accessible avec le nombre actuel de prompts non supprimés, de réponses non supprimées et de domaines concurrents SELF ou DIRECT.
Consultez Limites de débit pour la gestion des nouvelles tentatives.
string
requis
Jeton bearer. Exemple :
Bearer qw-api-xxxParamètres de chemin
string
requis
L’identifiant unique de la marque
Réponse
boolean
Indique si la requête a réussi
object
Afficher Détail de la marque
Afficher Détail de la marque
string
Identifiant opaque de la marque
string
Nom affiché de la marque
string
Domaine principal de la marque
string
Description de la marque (peut être null)
string
Horodatage de création ISO 8601
Exemple de requête
curl "https://www.qwairy.co/api/v1/brands/YOUR_BRAND_ID" \
-H "Authorization: Bearer $QWAIRY_API_TOKEN"
Exemple de réponse
{
"success": true,
"brand": {
"id": "brand_01",
"name": "Acme Analytics",
"domain": "acme.example",
"description": "Analytics software for operations teams.",
"createdAt": "2026-07-15T10:30:00.000Z",
"stats": {
"promptsCount": 156,
"answersCount": 312,
"competitorsCount": 8
}
}
}
Erreurs
| Statut | Code | Description |
|---|---|---|
| 401 | erreur de passerelle | Jeton d’API manquant ou invalide |
| 404 | BRAND_NOT_FOUND | Marque inexistante ou inaccessible |
| 429 | erreur de passerelle | Limite de débit dépassée ; respectez Retry-After |

