Account API
Programmatischer Zugriff auf Ihre monatlichen Nutzungsstatistiken: Erfolge, Fehler, fälliger Betrag, verbleibende Credits und Aufschlüsselungen pro Domain.
Überblick
Die Account API liefert monatliche Nutzungsstatistiken für Ihre Crawlbase-Produkte. Verwenden Sie sie, um den Verbrauch zu überwachen, interne Dashboards zu erstellen oder Alarme auszulösen, wenn Sie sich Ihrem Credit-Limit nähern.
Diese API wird aktiv unterstützt. Sie ist in der Navigation nur unter "Legacy" eingeordnet, weil es sich um eine ältere Endpoint-Form handelt - ein Ersatz ist nicht geplant.
Endpoint:https://api.crawlbase.com/account
Dieser Endpoint aggregiert serverseitig eine Menge Daten. Cachen Sie die Response - es besteht kein Grund, ihn häufiger aufzurufen.
Schnellstart
curl 'https://api.crawlbase.com/account?token=YOUR_TOKEN&product=crawling-api'Parameter
crawling-api, crawler, smartproxy, scraper-api, leads-api, screenshot-api.true werden zusätzlich zur Statistik des aktuellen Monats auch die Werte des Vormonats für einen Trendvergleich zurückgegeben.Response-Felder
domain, totalRequests, success, failure, successRate.Beispiele pro Produkt
# Crawling API
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=crawling-api"
# Enterprise Crawler
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=crawler"
# Smart AI Proxy
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=smartproxy"
# Scraper API (legacy)
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=scraper-api"
# Leads API (legacy)
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=leads-api"
# Screenshots API (legacy)
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=screenshot-api"
# With previous month for trend comparison
curl "https://api.crawlbase.com/account?token=YOUR_TOKEN&product=crawling-api&previous_month=true"
