v1
API key auth
Interactive

GTD API — Interactive docs

One gateway, nine domain-intelligence endpoints, no OAuth. Authenticate with an API key, call any tool over GET or POST, and test everything from this page.

Authentication
Send your key in the x-api-key header, or asAuthorization: Bearer <key>. Never expose keys in client-side code.
Billing
Paid endpoints draw plan credits first. When the allowance runs out, calls continue and are billed as metered overage on your next invoice instead of failing.
Base URL
https://globaltrafficdomains.site/api/public/gateway

GET {base} returns a machine-readable discovery document.

Quick start

cURL
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/buy-score?domain=example.com"
Node.js
const res = await fetch(
  "https://globaltrafficdomains.site/api/public/gateway/buy-score",
  {
    method: "POST",
    headers: {
      "content-type": "application/json",
      "x-api-key": process.env.GTD_API_KEY,
    },
    body: JSON.stringify({ domain: "example.com" }),
  }
);
console.log(await res.json());
Python
import os, requests
r = requests.get(
  "https://globaltrafficdomains.site/api/public/gateway/buy-score",
  params={"domain": "example.com"},
  headers={"x-api-key": os.environ["GTD_API_KEY"]},
)
print(r.json())

Rate limits

Limits are per API key and scale with your plan. Every successful response includesx-ratelimit-remaining-minute andx-ratelimit-remaining-month headers.

PlanRequests / minuteRequests / month
No plan (free)5500
starter510,000
standard1550,000
premium30200,000
enterprise601,000,000

Webhook events

Billing events are delivered by Stripe to/api/public/payments/webhook?env=liveand applied to your credit balance automatically. You do not need to configure anything — this is documented so you know what changes your quota and when.

EventEffect on your account
customer.subscription.createdPlan activated; monthly credit allowance granted and rate limits raised to your tier.
customer.subscription.updatedPlan change, renewal or cancellation scheduling; allowance and limits re-applied.
customer.subscription.deletedPlan ends; keys fall back to free-tier rate limits.
checkout.session.completedTop-up purchase confirmed; credits added to your top-up balance.
invoice.createdMetered overage for the period is reconciled onto the upcoming invoice.
invoice.paidOverage settled; overage records marked paid in your billing history.

Outbound webhooks to your own endpoint are not offered yet. Poll the dashboard or read thex-ratelimit-* headers on each response to track quota in real time.

Endpoints

GET · POST
/api/public/gateway/buy-scoreBuy Score
1 credit

0-100 buy score, band, recommended action, confidence and signal contributions.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "buy-score",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "paid",
    "credits_charged": 1,
    "metered_overage": false
  },
  "data": {
    "buy_score": 82,
    "band": "buy",
    "action": "Strong acquisition candidate — bid confidently.",
    "confidence": 91
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/buy-score?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/valuationValuation
1 credit

Estimated market value and list price with AI score, authority, niche and age.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "valuation",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "paid",
    "credits_charged": 1,
    "metered_overage": false
  },
  "data": {
    "estimated_value_usd": 4820,
    "list_price_usd": 199,
    "ai_score": 74,
    "authority": 42,
    "niche": "finance",
    "age_years": 11
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/valuation?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/traffic-forecastTraffic Forecast
1 credit

Current monthly traffic plus 30/90/365-day projections, growth and confidence.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "traffic-forecast",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "paid",
    "credits_charged": 1,
    "metered_overage": false
  },
  "data": {
    "current_monthly_traffic": 12500,
    "predicted_growth_pct": 42,
    "predicted_traffic_365d": 17750,
    "confidence": 78
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/traffic-forecast?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/backlink-strengthBacklink Strength
free

Backlink strength score, totals, referring domains, dofollow ratio and spam score.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "backlink-strength",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "free",
    "credits_charged": 0,
    "metered_overage": false
  },
  "data": {
    "backlink_strength": 68,
    "backlinks": 8450,
    "referring_domains": 512,
    "dofollow_ratio_pct": 62,
    "spam_score": 12
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/backlink-strength?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/market-demandMarket Demand
free

Demand score, buyer velocity, demand drivers and trend direction.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "market-demand",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "free",
    "credits_charged": 0,
    "metered_overage": false
  },
  "data": {
    "market_demand_score": 74,
    "velocity": 12,
    "trend": "rising"
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/market-demand?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/liquidityLiquidity
free

Liquidity score, band, estimated days to sell and comparable sales velocity.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "liquidity",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "free",
    "credits_charged": 0,
    "metered_overage": false
  },
  "data": {
    "liquidity_score": 63,
    "band": "medium",
    "estimated_days_to_sell": 87,
    "comparable_sales_velocity": 3.2
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/liquidity?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/expiry-opportunityExpiry Opportunity
free

Opportunity score, days to expiry, expiry date, band, urgency and drivers.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "expiry-opportunity",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "free",
    "credits_charged": 0,
    "metered_overage": false
  },
  "data": {
    "expiry_opportunity_score": 88,
    "days_to_expire": 4,
    "band": "hot",
    "urgency": "critical"
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/expiry-opportunity?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/auction-predictionAuction Prediction
2 credits

Predicted closing price, recommended max bid, win probability and flip profit.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "auction-prediction",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "paid",
    "credits_charged": 2,
    "metered_overage": false
  },
  "data": {
    "predicted_closing_price_usd": 2140,
    "recommended_max_bid_usd": 1650,
    "win_probability_pct": 62,
    "flip_profit_usd": 2680
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/auction-prediction?domain=example.com"

Need a key? Generate one.

GET · POST
/api/public/gateway/authority-repositoryAuthority Repository
1 credit

Current authority, trajectory score, 12-month prediction, band and history.

Input: domain (required) — query param on GET, JSON body field on POST.
Sample response
{
  "ok": true,
  "domain": "example.com",
  "tool": "authority-repository",
  "generated_at": "2026-08-01T10:00:00.000Z",
  "plan": "standard",
  "billing": {
    "tier": "paid",
    "credits_charged": 1,
    "metered_overage": false
  },
  "data": {
    "current_authority": 42,
    "authority_trajectory_score": 74,
    "predicted_authority_12mo": 51,
    "trajectory_band": "rising"
  }
}
Try it live
curl -H "x-api-key: $GTD_API_KEY" \
  "https://globaltrafficdomains.site/api/public/gateway/authority-repository?domain=example.com"

Need a key? Generate one.

Error codes

StatusErrorMeaning
400invalid_domainThe domain query param / body field is missing or malformed.
401missing_api_keyNo API key in x-api-key or Authorization header.
401invalid_api_keyKey not recognized.
401revoked_api_keyKey was revoked from the dashboard.
402insufficient_creditsOut of credits and metered overage is unavailable — add a payment method or buy credits.
404unknown_toolNo gateway tool with that name; see the discovery document.
429rate_limitedPer-minute limit for your plan exceeded — retry after the retry-after header.
429monthly_quota_exceededMonthly request quota for your plan exceeded.
500internal_errorUnexpected server-side failure — retry with backoff.

Next steps