Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/adstxt-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/adstxt-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/adstxt-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/adstxt-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/adstxt-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Fetch and parse a publisher's ads.txt — the IAB Authorized Digital Sellers file that lists who is allowed to sell a site's ad inventory. /v1/check?domain=theguardian.com fetches domain/ads.txt and returns every seller record (the advertising-system domain, the publisher account id, the DIRECT or RESELLER relationship and the optional certification-authority id, e.g. Google's TAG id), the counts of direct vs reseller lines, and the variables (OWNERDOMAIN, MANAGERDOMAIN, CONTACT, SUBDOMAINS). /v1/verify?domain=...&system=google.com&publisher_id=... checks whether a specific advertising system (and account) is authorised — the exact lookup an SSP or buyer makes to prevent domain spoofing and unauthorised reselling. A soft-404 HTML page is treated as no ads.txt. The request is made server-side; private/internal targets are refused (SSRF-guarded). Ideal for ad-tech compliance, supply-path verification, fraud prevention and publisher audits. An ads.txt parser/validator — distinct from the robots.txt evaluator (robots), the security.txt parser (securitytxt) and the sitemap parser (sitemap). No key, no cache.",
        "spec": "IAB Tech Lab ads.txt (Authorized Digital Sellers)",
        "endpoints": [
            "/v1/check",
            "/v1/verify",
            "/v1/meta"
        ],
        "variables": [
            "CONTACT",
            "SUBDOMAINS",
            "OWNERDOMAIN",
            "MANAGERDOMAIN",
            "INVENTORYPARTNERDOMAIN"
        ],
        "relationships": [
            "DIRECT",
            "RESELLER"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:38.718Z",
        "request_id": "496cfd68-ab3d-4692-b5a7-73d7c3b552ba"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}