開発者向けリファレンス

企業検索

このAPIはベータ版です。公開情報を集約しているため、結果の精度や網羅性は異なる場合があります。

企業検索

このAPIはベータ版です。公開情報を集約しているため、結果の精度や網羅性は異なる場合があります。

GET/v1/company

クエリパラメータ

パラメータタイプ説明
domain 必須string検索する企業のドメイン(例: "stripe.com")

レスポンスフィールド

フィールド説明
company.name公式会社名
company.description事業説明
socialLinkedIn、Twitter、Facebookリンク

ユースケース

  • 競合情報の収集
  • ベンダーや提携先の調査

リクエスト例

curl -H "X-API-Key: your-api-key" "https://domscan.net/v1/company?domain=stripe.com"

レスポンス例

{
                "domain": "stripe.com",
                "company": {
                "name": "Stripe",
                "legal_name": null,
                "description": "Financial infrastructure for the internet.",
                "founded_year": null,
                "industry": null,
                "employee_count_range": null,
                "type": null
                },
                "location": {
                "headquarters": null
                },
                "social": {
                "linkedin": "https://linkedin.com/company/stripe",
                "twitter": "https://twitter.com/stripe",
                "facebook": null,
                "github": null
                },
                "tech": {
                "email_provider": "Google Workspace",
                "website_technologies": []
                },
                "confidence": 0.65
                }
GET/v1/company/resolveクレジット: 1

クエリパラメータ

パラメータタイプ必須
tickerstringオプション
exchangestringオプション
isinstringオプション
namestringオプション
matchstring
許可された値 fullprefix
デフォルト full
オプション
limitinteger
デフォルト 5
オプション

レスポンスフィールド

フィールドタイプ
queryobject
query.typestring
query.valuestring
query.exchangestring | null
query.matchstring | null
query.limitinteger | null
statusstring
reasonstring
domainstring | null
websitestring | null
companyobject
company.idstring
company.namestring
company.domainstring | null
company.websitestring | null
company.domains[]string[]
company.identifiersobject
company.identifiers.wikidatastring | null
company.identifiers.cikstring | null
company.identifiers.isins[]string[]
company.identifiers.listings[]object[]
company.identifiers.listings[]object
company.identifiers.listings[].tickerstring
company.identifiers.listings[].exchangeobject
company.identifiers.listings[].exchange.namestring | null
company.identifiers.listings[].exchange.micstring | null
company.identifiers.listings[].exchange.wikidatastring | null
company.identifiers.listings[].sourcestring
company.confidencestring
company.scorenumber
company.matchobject
company.match.fieldstring
company.match.valuestring
company.match.kindstring
company.sources[]string[]
company.evidence[]object[]
company.evidence[]object
company.evidence[].sourcestring
company.evidence[].fieldstring
company.evidence[].valuestring
company.evidence[].urlstring
candidates[]object[]
candidates[]object
candidates[].idstring
candidates[].namestring
candidates[].domainstring | null
candidates[].websitestring | null
candidates[].domains[]string[]
candidates[].identifiersobject
candidates[].identifiers.wikidatastring | null
candidates[].identifiers.cikstring | null
candidates[].identifiers.isins[]string[]
candidates[].identifiers.listings[]object[]
candidates[].identifiers.listings[]object
candidates[].identifiers.listings[].tickerstring
candidates[].identifiers.listings[].exchangeobject
candidates[].identifiers.listings[].exchange.namestring | null
candidates[].identifiers.listings[].exchange.micstring | null
candidates[].identifiers.listings[].exchange.wikidatastring | null
candidates[].identifiers.listings[].sourcestring
candidates[].confidencestring
candidates[].scorenumber
candidates[].matchobject
candidates[].match.fieldstring
candidates[].match.valuestring
candidates[].match.kindstring
candidates[].sources[]string[]
candidates[].evidence[]object[]
candidates[].evidence[]object
candidates[].evidence[].sourcestring
candidates[].evidence[].fieldstring
candidates[].evidence[].valuestring
candidates[].evidence[].urlstring
classificationobject
classification.statusstring
classification.reasonstring
classification.evidenceobject
classification.evidence.sourcestring
classification.evidence.methodstring
classification.evidence.observed_atstring
classification.evidence.detailstring
classification.checked_atstring
checked_atstring
metaobject
meta.sources[]object[]
meta.sources[]object
meta.sources[].sourcestring
meta.sources[].snapshot_atstring | null
meta.sources[].recordsinteger
meta.sources[].staleboolean
meta.sources[].licencestring
meta.candidates_totalinteger

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/company/resolve?ticker=example&exchange=example&isin=example&name=example&match=full&limit=25"
const response = await fetch("https://domscan.net/v1/company/resolve?ticker=example&exchange=example&isin=example&name=example&match=full&limit=25", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/company/resolve?ticker=example&exchange=example&isin=example&name=example&match=full&limit=25",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/company/resolve?ticker=example&exchange=example&isin=example&name=example&match=full&limit=25", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/company/resolve?ticker=example&exchange=example&isin=example&name=example&match=full&limit=25")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "query": {
    "type": "ticker",
    "value": "example",
    "exchange": "example",
    "match": "full",
    "limit": 1
  },
  "status": "present",
  "reason": "resolved",
  "domain": "example.com",
  "website": "example",
  "company": {
    "id": "example-id",
    "name": "example",
    "domain": "example.com",
    "website": "example",
    "domains": [
      "example.com",
      "example.org"
    ],
    "identifiers": {
      "wikidata": "example",
      "cik": "example",
      "isins": [
        "example"
      ],
      "listings": [
        {
          "ticker": "example",
          "exchange": {
            "name": "example",
            "mic": "example",
            "wikidata": "example"
          },
          "source": "sec"
        }
      ]
    },
    "confidence": "high",
    "score": 0.85,
    "match": {
      "field": "ticker",
      "value": "example",
      "kind": "exact"
    },
    "sources": [
      "sec"
    ],
    "evidence": [
      {
        "source": "sec",
        "field": "example",
        "value": "example",
        "url": "https://example.com"
      }
    ]
  },
  "candidates": [
    {
      "id": "example-id",
      "name": "example",
      "domain": "example.com",
      "website": "example",
      "domains": [
        "example.com",
        "example.org"
      ],
      "identifiers": {
        "wikidata": "example",
        "cik": "example",
        "isins": [
          "example"
        ],
        "listings": [
          {
            "ticker": "example",
            "exchange": {
              "name": "example",
              "mic": "example",
              "wikidata": "example"
            },
            "source": "sec"
          }
        ]
      },
      "confidence": "high",
      "score": 0.85,
      "match": {
        "field": "ticker",
        "value": "example",
        "kind": "exact"
      },
      "sources": [
        "sec"
      ],
      "evidence": [
        {
          "source": "sec",
          "field": "example",
          "value": "example",
          "url": "https://example.com"
        }
      ]
    }
  ],
  "classification": {
    "status": "present",
    "evidence": {
      "source": "rdap",
      "method": "rdap_lookup",
      "observed_at": "2026-08-27T12:00:00Z",
      "detail": "example"
    },
    "checked_at": "2026-08-27T12:00:00Z",
    "reason": "blocked"
  },
  "checked_at": "2026-08-27T12:00:00Z",
  "meta": {
    "sources": [
      {
        "source": "sec",
        "snapshot_at": "2026-08-27T12:00:00Z",
        "records": 1,
        "stale": false,
        "licence": "example"
      }
    ],
    "candidates_total": 1
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 429 リクエスト過多
GET/v1/brandクレジット: 3

クエリパラメータ

パラメータタイプ必須
domainstringオプション
tickerstringオプション
exchangestringオプション
isinstringオプション
namestringオプション

レスポンスフィールド

フィールドタイプ
cache_age_sinteger
queryobject
query.typestring
query.valuestring
query.exchangestring | null
statusstring
reasonstring | null
domainstring | null
websiteobject
website.urlstring
website.fetch_statestring
resolutionobject
resolution.statusstring
resolution.reasonstring
resolution.companyobject
resolution.company.idstring
resolution.company.namestring
resolution.company.domainstring | null
resolution.company.confidencestring
resolution.candidates[]object[]
resolution.candidates[]object
resolution.candidates[].idstring
resolution.candidates[].namestring
resolution.candidates[].domainstring | null
resolution.candidates[].confidencestring
nameobject
name.statusstring
name.valuestring | null
name.reasonstring | null
name.provenanceobject
name.provenance.sourcestring
name.provenance.methodstring
name.provenance.urlstring | null
name.checked_atstring | null
descriptionobject
description.statusstring
description.valuestring | null
description.reasonstring | null
description.provenanceobject
description.provenance.sourcestring
description.provenance.methodstring
description.provenance.urlstring | null
description.checked_atstring | null
socialsobject
socials.statusstring
socials.value[]object[]
socials.value[]object
socials.value[].platformstring
socials.value[].typestring
socials.value[].handlestring | null
socials.value[].urlstring
socials.value[].declared_bystring
socials.value[].confidencestring
socials.reasonstring | null
socials.provenanceobject
socials.provenance.sourcestring
socials.provenance.methodstring
socials.provenance.urlstring | null
socials.checked_atstring | null
logoobject
logo.statusstring
logo.valueobject
logo.value.urlstring
logo.value.sourcestring
logo.value.source_urlstring | null
logo.value.verificationstring
logo.value.formatstring | null
logo.value.native_widthinteger | null
logo.value.native_heightinteger | null
logo.value.widthinteger | null
logo.value.heightinteger | null
logo.value.aspect_rationumber | null
logo.value.digeststring | null
logo.reasonstring | null
logo.provenanceobject
logo.provenance.sourcestring
logo.provenance.methodstring
logo.provenance.urlstring | null
logo.checked_atstring | null
wide_logoobject
wide_logo.statusstring
wide_logo.valueobject
wide_logo.value.urlstring
wide_logo.value.sourcestring
wide_logo.value.source_urlstring | null
wide_logo.value.verificationstring
wide_logo.value.formatstring | null
wide_logo.value.native_widthinteger | null
wide_logo.value.native_heightinteger | null
wide_logo.value.widthinteger | null
wide_logo.value.heightinteger | null
wide_logo.value.aspect_rationumber | null
wide_logo.value.digeststring | null
wide_logo.reasonstring | null
wide_logo.provenanceobject
wide_logo.provenance.sourcestring
wide_logo.provenance.methodstring
wide_logo.provenance.urlstring | null
wide_logo.checked_atstring | null
colorsobject
colors.statusstring
colors.valueobject
colors.value.fromstring
colors.value.palette[]object[]
colors.value.palette[]object
colors.value.palette[].hexstring
colors.value.palette[].rgbobject
colors.value.palette[].rgb.rinteger
colors.value.palette[].rgb.ginteger
colors.value.palette[].rgb.binteger
colors.value.palette[].oklchobject
colors.value.palette[].oklch.lnumber
colors.value.palette[].oklch.cnumber
colors.value.palette[].oklch.hnumber
colors.value.palette[].oklch.cssstring
colors.value.palette[].sharenumber
colors.value.palette[].neutralboolean
colors.value.dominantobject
colors.value.dominant.hexstring
colors.value.dominant.rgbobject
colors.value.dominant.rgb.rinteger
colors.value.dominant.rgb.ginteger
colors.value.dominant.rgb.binteger
colors.value.dominant.oklchobject
colors.value.dominant.oklch.lnumber
colors.value.dominant.oklch.cnumber
colors.value.dominant.oklch.hnumber
colors.value.dominant.oklch.cssstring
colors.value.dominant.sharenumber
colors.value.dominant.neutralboolean
colors.value.backgroundobject
colors.value.background.hexstring
colors.value.background.rgbobject
colors.value.background.rgb.rinteger
colors.value.background.rgb.ginteger
colors.value.background.rgb.binteger
colors.value.background.oklchobject
colors.value.background.oklch.lnumber
colors.value.background.oklch.cnumber
colors.value.background.oklch.hnumber
colors.value.background.oklch.cssstring
colors.reasonstring | null
colors.provenanceobject
colors.provenance.sourcestring
colors.provenance.methodstring
colors.provenance.urlstring | null
colors.checked_atstring | null
theme_colorobject
theme_color.statusstring
theme_color.valueobject
theme_color.value.declaredstring
theme_color.value.colorobject
theme_color.value.color.hexstring
theme_color.value.color.rgbobject
theme_color.value.color.rgb.rinteger
theme_color.value.color.rgb.ginteger
theme_color.value.color.rgb.binteger
theme_color.value.color.oklchobject
theme_color.value.color.oklch.lnumber
theme_color.value.color.oklch.cnumber
theme_color.value.color.oklch.hnumber
theme_color.value.color.oklch.cssstring
theme_color.reasonstring | null
theme_color.provenanceobject
theme_color.provenance.sourcestring
theme_color.provenance.methodstring
theme_color.provenance.urlstring | null
theme_color.checked_atstring | null
checked_atstring

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/brand?domain=example.com&ticker=example&exchange=example&isin=example&name=example"
const response = await fetch("https://domscan.net/v1/brand?domain=example.com&ticker=example&exchange=example&isin=example&name=example", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/brand?domain=example.com&ticker=example&exchange=example&isin=example&name=example",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/brand?domain=example.com&ticker=example&exchange=example&isin=example&name=example", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/brand?domain=example.com&ticker=example&exchange=example&isin=example&name=example")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "query": {
    "type": "domain",
    "value": "example",
    "exchange": "example"
  },
  "status": "present",
  "reason": "blocked",
  "domain": "example.com",
  "website": {
    "url": "https://example.com",
    "fetch_state": "ok"
  },
  "resolution": {
    "status": "present",
    "reason": "resolved",
    "company": {
      "id": "example-id",
      "name": "example",
      "domain": "example.com",
      "confidence": "high"
    },
    "candidates": [
      {
        "id": "example-id",
        "name": "example",
        "domain": "example.com",
        "confidence": "high"
      }
    ]
  },
  "name": {
    "status": "present",
    "value": "example",
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "description": {
    "status": "present",
    "value": "example",
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "socials": {
    "status": "present",
    "value": [
      {
        "platform": "example",
        "type": "social",
        "handle": "example",
        "url": "https://example.com",
        "declared_by": "same_as",
        "confidence": "high"
      }
    ],
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "logo": {
    "status": "present",
    "value": {
      "url": "https://example.com",
      "source": "bimi",
      "source_url": "https://example.com",
      "verification": "decoded",
      "format": "example",
      "native_width": 1,
      "native_height": 1,
      "width": 1,
      "height": 1,
      "aspect_ratio": 0.5,
      "digest": "example"
    },
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "wide_logo": {
    "status": "present",
    "value": {
      "url": "https://example.com",
      "source": "bimi",
      "source_url": "https://example.com",
      "verification": "decoded",
      "format": "example",
      "native_width": 1,
      "native_height": 1,
      "width": 1,
      "height": 1,
      "aspect_ratio": 0.5,
      "digest": "example"
    },
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "colors": {
    "status": "present",
    "value": {
      "from": "logo",
      "palette": [
        {
          "hex": "#635bff",
          "rgb": {
            "r": 1,
            "g": 1,
            "b": 1
          },
          "oklch": {
            "l": 0.5,
            "c": 0.5,
            "h": 0.5,
            "css": "oklch(57.84% 0.2346 278.29)"
          },
          "share": 0.5,
          "neutral": false
        }
      ],
      "dominant": {
        "hex": "#635bff",
        "rgb": {
          "r": 1,
          "g": 1,
          "b": 1
        },
        "oklch": {
          "l": 0.5,
          "c": 0.5,
          "h": 0.5,
          "css": "oklch(57.84% 0.2346 278.29)"
        },
        "share": 0.5,
        "neutral": false
      },
      "background": {
        "hex": "#635bff",
        "rgb": {
          "r": 1,
          "g": 1,
          "b": 1
        },
        "oklch": {
          "l": 0.5,
          "c": 0.5,
          "h": 0.5,
          "css": "oklch(57.84% 0.2346 278.29)"
        }
      }
    },
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "theme_color": {
    "status": "present",
    "value": {
      "declared": "example",
      "color": {
        "hex": "#635bff",
        "rgb": {
          "r": 1,
          "g": 1,
          "b": 1
        },
        "oklch": {
          "l": 0.5,
          "c": 0.5,
          "h": 0.5,
          "css": "oklch(57.84% 0.2346 278.29)"
        }
      }
    },
    "reason": "blocked",
    "provenance": {
      "source": "website",
      "method": "rdap",
      "url": "https://example.com"
    },
    "checked_at": "2026-08-27T12:00:00Z"
  },
  "checked_at": "2026-08-27T12:00:00Z",
  "cache_age_s": 1
}

HTTP ステータスコード

  • 200 成功
  • 304 HTTP 304
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 429 リクエスト過多
GET/v1/identity-assetsクレジット: 2

クエリパラメータ

パラメータタイプ必須
domainstring必須
skip_cachestring
許可された値 1
オプション

レスポンスフィールド

フィールドタイプ
cache_age_sinteger
domainstring
website_urlstring
fetch_statestring
organization_namestring | null
assetsobject
assets.logo_urlstring | null
assets.logo_kindstring | null
assets.logo_sourcestring | null
assets.logo_verificationstring | null
assets.favicon_urlstring | null
assets.touch_icon_urlstring | null
assets.preview_image_urlstring | null
assets.manifest_urlstring | null
assets.theme_colorstring | null
assets.candidates[]object[]
assets.candidates[]object
assets.candidates[].urlstring
assets.candidates[].kindstring
assets.candidates[].sourcestring
assets.candidates[].typestring | null
assets.candidates[].sizesstring | null
assets.candidates[].scoreinteger
assets.candidates[].confidencestring
social_profiles[]object[]
social_profiles[]object
social_profiles[].platformstring
social_profiles[].typestring
social_profiles[].handlestring | null
social_profiles[].urlstring
social_profiles[].sourcestring
social_profiles[].confidencestring
confidencenumber
evidence[]string[]
metaobject
meta.checked_atstring
meta.cachedboolean
meta.fetch_transportstring
meta.fetch_errorstring

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/identity-assets?domain=example.com&skip_cache=1"
const response = await fetch("https://domscan.net/v1/identity-assets?domain=example.com&skip_cache=1", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/identity-assets?domain=example.com&skip_cache=1",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/identity-assets?domain=example.com&skip_cache=1", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/identity-assets?domain=example.com&skip_cache=1")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "domain": "www.example.com",
  "website_url": "https://www.example.com/",
  "fetch_state": "ok",
  "organization_name": "Example Co",
  "assets": {
    "logo_url": "https://www.example.com/logo.png",
    "logo_kind": "logo",
    "logo_source": "json_ld:logo",
    "logo_verification": "verified",
    "favicon_url": "https://www.example.com/favicon.ico",
    "touch_icon_url": "https://www.example.com/apple-touch-icon.png",
    "preview_image_url": "https://www.example.com/og.png",
    "manifest_url": "https://www.example.com/site.webmanifest",
    "theme_color": "#0b5fff",
    "candidates": [
      {
        "url": "https://www.example.com/logo.png",
        "kind": "logo",
        "source": "json_ld:logo",
        "type": null,
        "sizes": null,
        "score": 100,
        "confidence": "high"
      },
      {
        "url": "https://www.example.com/apple-touch-icon.png",
        "kind": "touch_icon",
        "source": "link:apple-touch-icon",
        "type": null,
        "sizes": "180x180",
        "score": 80,
        "confidence": "high"
      },
      {
        "url": "https://www.example.com/icons/icon-512.png",
        "kind": "manifest_icon",
        "source": "manifest:icons",
        "type": "image/png",
        "sizes": "512x512",
        "score": 78,
        "confidence": "medium"
      },
      {
        "url": "https://www.example.com/favicon.ico",
        "kind": "favicon",
        "source": "link:icon",
        "type": null,
        "sizes": "48x48",
        "score": 60,
        "confidence": "medium"
      },
      {
        "url": "https://www.example.com/og.png",
        "kind": "preview_image",
        "source": "open_graph:image",
        "type": null,
        "sizes": null,
        "score": 30,
        "confidence": "low"
      }
    ]
  },
  "social_profiles": [
    {
      "platform": "linkedin",
      "type": "social",
      "handle": "example-co",
      "url": "https://www.linkedin.com/company/example-co",
      "source": "same_as",
      "confidence": "high"
    },
    {
      "platform": "github",
      "type": "developer",
      "handle": "example-co",
      "url": "https://github.com/example-co",
      "source": "same_as",
      "confidence": "high"
    }
  ],
  "confidence": 1,
  "evidence": [
    "organization_name",
    "structured_logo",
    "asset_verified",
    "declared_icon",
    "declared_social_profiles"
  ],
  "meta": {
    "checked_at": "2026-10-09T10:15:30.000Z",
    "cached": false,
    "fetch_transport": "edge_relay"
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 429 リクエスト過多
  • 502 不正なゲートウェイ
GET/v1/logo/:domainクレジット: 1

クエリパラメータ

パラメータタイプ必須
domainstring必須
sizeinteger
デフォルト 128
オプション
retinaboolean
デフォルト false
オプション
greyscaleboolean
デフォルト false
オプション
themestring
許可された値 lightdark
オプション
fallbackstring
許可された値 404monogram
デフォルト 404
オプション
formatstring
許可された値 png
デフォルト png
オプション
variantstring
許可された値 squarewide
デフォルト square
オプション
vstringオプション
tokenstringオプション

レスポンスフィールド

フィールドタイプ
bodyimage/png
X-Credits-Chargedstring
X-Credits-Remainingstring
X-RateLimit-Limitstring
X-RateLimit-Remainingstring
X-RateLimit-Resetstring
X-RateLimit-Planstring
X-RateLimit-Policystring
Cache-Controlstring
ETagstring
Last-Modifiedstring
X-Logo-Statusstring
X-Logo-Sourcestring
X-Logo-Verificationstring
X-Logo-Source-Formatstring
X-Logo-Native-Sizestring
X-Logo-Theme-Adjustedstring
X-Logo-Variantstring
X-Logo-Lookupstring
X-Cachestring
Cloudflare-CDN-Cache-Controlstring
X-Cache-Agestring

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/logo/example.com?size=128&retina=false&greyscale=false&theme=light&fallback=404&format=png&variant=square&v=example&token=example"
const response = await fetch("https://domscan.net/v1/logo/example.com?size=128&retina=false&greyscale=false&theme=light&fallback=404&format=png&variant=square&v=example&token=example", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/logo/example.com?size=128&retina=false&greyscale=false&theme=light&fallback=404&format=png&variant=square&v=example&token=example",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/logo/example.com?size=128&retina=false&greyscale=false&theme=light&fallback=404&format=png&variant=square&v=example&token=example", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/logo/example.com?size=128&retina=false&greyscale=false&theme=light&fallback=404&format=png&variant=square&v=example&token=example")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

HTTP/2 200
content-type: image/png
x-credits-charged: ...
x-credits-remaining: ...
x-ratelimit-limit: ...
x-ratelimit-remaining: ...
x-ratelimit-reset: ...
x-ratelimit-plan: ...
x-ratelimit-policy: ...
cache-control: ...
etag: ...
last-modified: ...
x-logo-status: found
x-logo-source: bimi
x-logo-verification: decoded
x-logo-source-format: ...
x-logo-native-size: ...
x-logo-theme-adjusted: tile
x-logo-variant: wide
x-logo-lookup: ...
x-cache: HIT
cloudflare-cdn-cache-control: ...
x-cache-age: ...

HTTP ステータスコード

  • 200 成功
  • 304 HTTP 304
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 403 禁止
  • 404 見つかりません
  • 429 リクエスト過多
POST/v1/identity-assets/bulkクレジット: 2/item

クエリパラメータ

パラメータタイプ必須
dry_runstring
許可された値 true
オプション

ボディパラメータ

パラメータタイプ必須
domainsstring[]必須

レスポンスフィールド

フィールドタイプ
results[]object[]
results[]object
results[].inputstring
results[].dataobject
results[].errorobject
results[].error.errorobject
results[].error.error.codestring
results[].error.error.typestring
results[].error.error.messagestring
results[].error.error.statusinteger
results[].error.error.retryableboolean
results[].error.error.request_idstring
results[].error.error.suggestionstring
results[].error.error.detailsobject
results[].error.error.retry_afterinteger
results[].error.error.docs_urlstring
metaobject
meta.totalinteger
meta.succeededinteger
meta.failedinteger
meta.unknowninteger
meta.max_itemsinteger
meta.credits_per_iteminteger
meta.duration_msinteger

リクエスト例

curl -X POST "https://domscan.net/v1/identity-assets/bulk" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $DOMSCAN_API_KEY" \
  -d '{
  "domains": [
    "stripe.com",
    "github.com"
  ]
}'
const response = await fetch("https://domscan.net/v1/identity-assets/bulk", {
  method: "POST",
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "domains": [
      "stripe.com",
      "github.com"
    ]
  }),
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.post(
    "https://domscan.net/v1/identity-assets/bulk",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
    json={
        "domains": [
            "stripe.com",
            "github.com",
        ],
    },
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
	"strings"
)

func main() {
	body := strings.NewReader(`{
	  "domains": [
	    "stripe.com",
	    "github.com"
	  ]
	}`)
	req, err := http.NewRequest(http.MethodPost, "https://domscan.net/v1/identity-assets/bulk", body)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))
	req.Header.Set("Content-Type", "application/json")

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/identity-assets/bulk")
request = Net::HTTP::Post.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")
request["Content-Type"] = "application/json"
request.body = JSON.generate({
  "domains" => [
    "stripe.com",
    "github.com"
  ]
})

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "results": [
    {
      "input": "example",
      "data": {},
      "error": {
        "error": {
          "code": "INVALID_DOMAIN",
          "type": "authentication_error",
          "message": "Invalid domain format",
          "status": 400,
          "retryable": false,
          "request_id": "request-id",
          "docs_url": "https://domscan.net/docs/check-availability",
          "suggestion": "example",
          "details": {},
          "retry_after": 300
        }
      }
    }
  ],
  "meta": {
    "total": 1,
    "succeeded": 1,
    "failed": 1,
    "unknown": 1,
    "max_items": 10,
    "credits_per_item": 2,
    "duration_ms": 1
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 リクエスト過多
GET/v1/identity-resolutionクレジット: 2

クエリパラメータ

パラメータタイプ必須
domainstring必須
skip_cachestring
許可された値 1
オプション

レスポンスフィールド

フィールドタイプ
cache_age_sinteger
querystring
canonical_domainstring
website_urlstring
fetch_statestring
organizationobject
organization.namestring | null
organization.descriptionstring | null
identities[]object[]
identities[]object
identities[].platformstring
identities[].typestring
identities[].handlestring | null
identities[].urlstring
identities[].sourcestring
identities[].confidencestring
contactsobject
contacts.emails[]string[]
contacts.phones[]string[]
confidencenumber
evidenceobject
evidence.declared_identity_countinteger
evidence.high_confidence_countinteger
evidence.medium_confidence_countinteger
evidence.sources[]string[]
metaobject
meta.checked_atstring
meta.cachedboolean
meta.fetch_transportstring
meta.fetch_errorstring

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/identity-resolution?domain=example.com&skip_cache=1"
const response = await fetch("https://domscan.net/v1/identity-resolution?domain=example.com&skip_cache=1", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/identity-resolution?domain=example.com&skip_cache=1",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/identity-resolution?domain=example.com&skip_cache=1", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/identity-resolution?domain=example.com&skip_cache=1")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "query": "example",
  "canonical_domain": "example.com",
  "website_url": "https://example.com",
  "fetch_state": "ok",
  "organization": {
    "name": "example",
    "description": "example"
  },
  "identities": [
    {
      "platform": "github",
      "type": "social",
      "url": "https://example.com",
      "source": "same_as",
      "confidence": "high",
      "handle": "example"
    }
  ],
  "contacts": {
    "emails": [
      "[email protected]",
      "[email protected]"
    ],
    "phones": [
      "example"
    ]
  },
  "confidence": 0.85,
  "evidence": {
    "declared_identity_count": 1,
    "high_confidence_count": 1,
    "medium_confidence_count": 1,
    "sources": [
      "example"
    ]
  },
  "meta": {
    "checked_at": "2026-08-27T12:00:00Z",
    "cached": false,
    "fetch_transport": "worker",
    "fetch_error": "timeout"
  },
  "cache_age_s": 1
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 429 リクエスト過多
  • 502 不正なゲートウェイ
POST/v1/identity-resolution/bulkクレジット: 2/item

クエリパラメータ

パラメータタイプ必須
dry_runstring
許可された値 true
オプション

ボディパラメータ

パラメータタイプ必須
domainsstring[]必須

レスポンスフィールド

フィールドタイプ
results[]object[]
results[]object
results[].inputstring
results[].dataobject
results[].errorobject
results[].error.errorobject
results[].error.error.codestring
results[].error.error.typestring
results[].error.error.messagestring
results[].error.error.statusinteger
results[].error.error.retryableboolean
results[].error.error.request_idstring
results[].error.error.suggestionstring
results[].error.error.detailsobject
results[].error.error.retry_afterinteger
results[].error.error.docs_urlstring
metaobject
meta.totalinteger
meta.succeededinteger
meta.failedinteger
meta.unknowninteger
meta.max_itemsinteger
meta.credits_per_iteminteger
meta.duration_msinteger

リクエスト例

curl -X POST "https://domscan.net/v1/identity-resolution/bulk" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $DOMSCAN_API_KEY" \
  -d '{
  "domains": [
    "stripe.com",
    "github.com"
  ]
}'
const response = await fetch("https://domscan.net/v1/identity-resolution/bulk", {
  method: "POST",
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "domains": [
      "stripe.com",
      "github.com"
    ]
  }),
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.post(
    "https://domscan.net/v1/identity-resolution/bulk",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
    json={
        "domains": [
            "stripe.com",
            "github.com",
        ],
    },
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
	"strings"
)

func main() {
	body := strings.NewReader(`{
	  "domains": [
	    "stripe.com",
	    "github.com"
	  ]
	}`)
	req, err := http.NewRequest(http.MethodPost, "https://domscan.net/v1/identity-resolution/bulk", body)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))
	req.Header.Set("Content-Type", "application/json")

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/identity-resolution/bulk")
request = Net::HTTP::Post.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")
request["Content-Type"] = "application/json"
request.body = JSON.generate({
  "domains" => [
    "stripe.com",
    "github.com"
  ]
})

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "results": [
    {
      "input": "example",
      "data": {},
      "error": {
        "error": {
          "code": "INVALID_DOMAIN",
          "type": "authentication_error",
          "message": "Invalid domain format",
          "status": 400,
          "retryable": false,
          "request_id": "request-id",
          "docs_url": "https://domscan.net/docs/check-availability",
          "suggestion": "example",
          "details": {},
          "retry_after": 300
        }
      }
    }
  ],
  "meta": {
    "total": 1,
    "succeeded": 1,
    "failed": 1,
    "unknown": 1,
    "max_items": 10,
    "credits_per_item": 2,
    "duration_ms": 1
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 リクエスト過多
GET/v1/url-intelligenceクレジット: 2

クエリパラメータ

パラメータタイプ必須
urlstring必須
skip_cachestring
許可された値 1
オプション

レスポンスフィールド

フィールドタイプ
cache_age_sinteger
requested_urlstring
final_urlstring
statusinteger
fetch_statestring
content_typestring | null
redirectsinteger
titlestring | null
descriptionstring | null
canonical_urlstring | null
languagestring | null
favicon_urlstring | null
preview_image_urlstring | null
manifest_urlstring | null
theme_colorstring | null
authorstring | null
publisherstring | null
published_atstring | null
modified_atstring | null
feeds[]object[]
feeds[]object
feeds[].urlstring
feeds[].typestring
feeds[].titlestring | null
oembed_urlstring | null
videoobject
video.urlstring
video.typestring | null
video.widthinteger | null
video.heightinteger | null
video.sourcestring
audioobject
audio.urlstring
audio.typestring | null
audio.sourcestring
open_graphobject
twitter_cardobject
structured_dataobject
structured_data.types[]string[]
structured_data.itemsinteger
structured_data.parse_errorsinteger
robotsobject
robots.meta[]string[]
robots.header[]string[]
robots.indexableboolean | null
security_headersobject
linksobject
links.totalinteger
links.internalinteger
links.externalinteger
social_profiles[]object[]
social_profiles[]object
social_profiles[].platformstring
social_profiles[].typestring
social_profiles[].handlestring | null
social_profiles[].urlstring
social_profiles[].sourcestring
social_profiles[].confidencestring
contactsobject
contacts.emails[]string[]
contacts.phones[]string[]
metaobject
meta.checked_atstring
meta.cachedboolean
meta.fetch_transportstring
meta.fetch_errorstring

リクエスト例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/url-intelligence?url=https%3A%2F%2Fexample.com&skip_cache=1"
const response = await fetch("https://domscan.net/v1/url-intelligence?url=https%3A%2F%2Fexample.com&skip_cache=1", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/url-intelligence?url=https%3A%2F%2Fexample.com&skip_cache=1",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/url-intelligence?url=https%3A%2F%2Fexample.com&skip_cache=1", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/url-intelligence?url=https%3A%2F%2Fexample.com&skip_cache=1")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "requested_url": "https://www.example.com/",
  "final_url": "https://www.example.com/",
  "status": 200,
  "fetch_state": "ok",
  "content_type": "text/html; charset=UTF-8",
  "redirects": 0,
  "title": "Example Co",
  "description": "Example Co builds simple tools for small teams.",
  "canonical_url": "https://www.example.com/",
  "language": "en",
  "favicon_url": "https://www.example.com/favicon.ico",
  "preview_image_url": "https://www.example.com/og.png",
  "manifest_url": "https://www.example.com/site.webmanifest",
  "theme_color": "#0b5fff",
  "author": null,
  "publisher": "Example Co",
  "published_at": null,
  "modified_at": "2026-10-01T08:00:00.000Z",
  "feeds": [
    {
      "url": "https://www.example.com/blog/feed.xml",
      "type": "application/rss+xml",
      "title": "Example Co blog"
    }
  ],
  "oembed_url": null,
  "video": null,
  "audio": null,
  "open_graph": {
    "title": "Example Co",
    "type": "website",
    "url": "https://www.example.com/",
    "image": "https://www.example.com/og.png"
  },
  "twitter_card": {
    "card": "summary_large_image",
    "title": "Example Co"
  },
  "structured_data": {
    "types": [
      "Organization"
    ],
    "items": 1,
    "parse_errors": 0
  },
  "robots": {
    "meta": [
      "index",
      "follow"
    ],
    "header": [],
    "indexable": true
  },
  "security_headers": {
    "content-security-policy": "default-src 'self'",
    "strict-transport-security": "max-age=63072000; includeSubDomains",
    "x-content-type-options": "nosniff",
    "x-frame-options": "SAMEORIGIN",
    "referrer-policy": "strict-origin-when-cross-origin",
    "permissions-policy": null,
    "cross-origin-opener-policy": null
  },
  "links": {
    "total": 3,
    "internal": 2,
    "external": 1
  },
  "social_profiles": [
    {
      "platform": "linkedin",
      "type": "social",
      "handle": "example-co",
      "url": "https://www.linkedin.com/company/example-co",
      "source": "same_as",
      "confidence": "high"
    },
    {
      "platform": "github",
      "type": "developer",
      "handle": "example-co",
      "url": "https://github.com/example-co",
      "source": "same_as",
      "confidence": "high"
    }
  ],
  "contacts": {
    "emails": [
      "[email protected]"
    ],
    "phones": []
  },
  "meta": {
    "checked_at": "2026-10-09T10:15:30.000Z",
    "cached": false,
    "fetch_transport": "edge_relay"
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 429 リクエスト過多
  • 502 不正なゲートウェイ
POST/v1/url-intelligence/bulkクレジット: 2/item

クエリパラメータ

パラメータタイプ必須
dry_runstring
許可された値 true
オプション

ボディパラメータ

パラメータタイプ必須
urlsstring[]必須

レスポンスフィールド

フィールドタイプ
results[]object[]
results[]object
results[].inputstring
results[].dataobject
results[].errorobject
results[].error.errorobject
results[].error.error.codestring
results[].error.error.typestring
results[].error.error.messagestring
results[].error.error.statusinteger
results[].error.error.retryableboolean
results[].error.error.request_idstring
results[].error.error.suggestionstring
results[].error.error.detailsobject
results[].error.error.retry_afterinteger
results[].error.error.docs_urlstring
metaobject
meta.totalinteger
meta.succeededinteger
meta.failedinteger
meta.unknowninteger
meta.max_itemsinteger
meta.credits_per_iteminteger
meta.duration_msinteger

リクエスト例

curl -X POST "https://domscan.net/v1/url-intelligence/bulk" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $DOMSCAN_API_KEY" \
  -d '{
  "urls": [
    "https://example.com",
    "https://github.com/about"
  ]
}'
const response = await fetch("https://domscan.net/v1/url-intelligence/bulk", {
  method: "POST",
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "urls": [
      "https://example.com",
      "https://github.com/about"
    ]
  }),
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.post(
    "https://domscan.net/v1/url-intelligence/bulk",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
    json={
        "urls": [
            "https://example.com",
            "https://github.com/about",
        ],
    },
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
	"strings"
)

func main() {
	body := strings.NewReader(`{
	  "urls": [
	    "https://example.com",
	    "https://github.com/about"
	  ]
	}`)
	req, err := http.NewRequest(http.MethodPost, "https://domscan.net/v1/url-intelligence/bulk", body)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))
	req.Header.Set("Content-Type", "application/json")

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/url-intelligence/bulk")
request = Net::HTTP::Post.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")
request["Content-Type"] = "application/json"
request.body = JSON.generate({
  "urls" => [
    "https://example.com",
    "https://github.com/about"
  ]
})

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

レスポンス例

{
  "results": [
    {
      "input": "example",
      "data": {},
      "error": {
        "error": {
          "code": "INVALID_DOMAIN",
          "type": "authentication_error",
          "message": "Invalid domain format",
          "status": 400,
          "retryable": false,
          "request_id": "request-id",
          "docs_url": "https://domscan.net/docs/check-availability",
          "suggestion": "example",
          "details": {},
          "retry_after": 300
        }
      }
    }
  ],
  "meta": {
    "total": 1,
    "succeeded": 1,
    "failed": 1,
    "unknown": 1,
    "max_items": 10,
    "credits_per_item": 2,
    "duration_ms": 1
  }
}

HTTP ステータスコード

  • 200 成功
  • 400 不正なリクエスト
  • 401 未認証
  • 402 支払いが必要
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 リクエスト過多