公開API
APIキーでドメインの評価、トラフィック、SEO、カテゴリーデータにプログラムでアクセス。無料。
無料API
ベースURL: /ajax/api.php
認証
ping以外のエンドポイントはアピーAPIKeyが必要。クエリパラメータまたはBearerトークンで渡してください。
GET /ajax/api.php?action=domain&d=example.com&api_key=YOUR_KEY
# Or via header:
Authorization: Bearer YOUR_KEY
無料キーは1日500リクエストまで利用可能。
Ping
GET
/ajax/api.php?action=ping
APIの利用可能性を確認。認証不要。
{
"ok": true,
"version": "v1",
"ts": 1711000000
}
ドメイン検索
GET
/ajax/api.php?action=domain&d=example.com&api_key=YOUR_KEY
ドメインの評価、トラフィック、SEO、ホスティング、安全性、カテゴリーデータを返します。
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
d | string | required | 検索するドメイン(例: example.com) |
api_key | string | required | あなたのAPIキー |
{
"ok": true,
"domain": "example.com",
"valuation": {
"estimated_value": 125000,
"income_per_day": 85.50,
"daily_visitors": 12400
},
"meta": {
"title": "Example Domain",
"description": "This domain is for use in illustrative examples."
},
"seo": { "pagerank_score": 4.2, "pagespeed_desktop": 87, "pagespeed_mobile": 71, "ssl_grade": "A+", "tranco_rank": 15200 },
"hosting": {
"country": "US",
"ip": "93.184.216.34",
"registrar": "IANA"
},
"safety": "safe",
"category": { "name": "Technology", "slug": "technology" },
"verified": null,
"is_reachable": true,
"updated_date": "2025-03-01"
}
トレンディングドメイン
GET
/ajax/api.php?action=trending&limit=10&api_key=YOUR_KEY
過去24時間に最も検索されたドメイン。最大20件。
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
limit | int | optional | 結果数(1~20、デフォルト10) |
api_key | string | required | あなたのAPIキー |
{
"ok": true,
"trending": [
{ "domain": "google.com", "hit_count": "42", "estimated_value": 890000000 },
{ "domain": "github.com", "hit_count": "31", "estimated_value": 2100000 }
]
}
エラーコード
| コード | 意味 |
|---|---|
200 | 成功 |
400 | リクエストエラー — パラメータの不足または不正 |
401 | 認証エラー — APIキーの不足または不正 |
404 | ドメインがデータベースに見つかりません |
429 | レートリミット超過 |
{
"ok": false,
"error": "Invalid or inactive API key."
}