Ontwikkelaarsreferentie

Bedrijfsgegevens opzoeken

Deze API bevindt zich in bèta. De resultaten kunnen variëren in nauwkeurigheid en volledigheid. Gegevens worden samengevoegd uit openbare bronnen.

Bedrijfsgegevens opzoeken

Deze API bevindt zich in bèta. De resultaten kunnen variëren in nauwkeurigheid en volledigheid. Gegevens worden samengevoegd uit openbare bronnen.

GET/v1/company

Queryparameters

ParameterTypeBeschrijving
domain vereiststringBedrijfsdomein om op te zoeken (bijv. "stripe.com")

Antwoordvelden

VeldBeschrijving
company.nameOfficiële bedrijfsnaam
company.descriptionBedrijfsbeschrijving
socialLinks naar LinkedIn, Twitter en Facebook

Gebruikssituaties

  • Concurrentie-informatie
  • Onderzoek naar leveranciers en partners

Voorbeeldverzoek

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

Voorbeeldantwoord

{
                "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/resolveTegoeden: 1

Queryparameters

ParameterTypevereist
tickerstringoptioneel
exchangestringoptioneel
isinstringoptioneel
namestringoptioneel
matchstring
Toegestane waarden fullprefix
Standaard full
optioneel
limitinteger
Standaard 5
optioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 429 Te veel verzoeken
GET/v1/brandTegoeden: 3

Queryparameters

ParameterTypevereist
domainstringoptioneel
tickerstringoptioneel
exchangestringoptioneel
isinstringoptioneel
namestringoptioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 304 HTTP 304
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 429 Te veel verzoeken
GET/v1/identity-assetsTegoeden: 2

Queryparameters

ParameterTypevereist
domainstringvereist
skip_cachestring
Toegestane waarden 1
optioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 429 Te veel verzoeken
  • 502 Gatewayfout
GET/v1/logo/:domainTegoeden: 1

Queryparameters

ParameterTypevereist
domainstringvereist
sizeinteger
Standaard 128
optioneel
retinaboolean
Standaard false
optioneel
greyscaleboolean
Standaard false
optioneel
themestring
Toegestane waarden lightdark
optioneel
fallbackstring
Toegestane waarden 404monogram
Standaard 404
optioneel
formatstring
Toegestane waarden png
Standaard png
optioneel
variantstring
Toegestane waarden squarewide
Standaard square
optioneel
vstringoptioneel
tokenstringoptioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

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-statuscodes

  • 200 OK
  • 304 HTTP 304
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 403 Verboden
  • 404 Niet gevonden
  • 429 Te veel verzoeken
POST/v1/identity-assets/bulkTegoeden: 2/item

Queryparameters

ParameterTypevereist
dry_runstring
Toegestane waarden true
optioneel

Body-parameters

ParameterTypevereist
domainsstring[]vereist

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 Te veel verzoeken
GET/v1/identity-resolutionTegoeden: 2

Queryparameters

ParameterTypevereist
domainstringvereist
skip_cachestring
Toegestane waarden 1
optioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 429 Te veel verzoeken
  • 502 Gatewayfout
POST/v1/identity-resolution/bulkTegoeden: 2/item

Queryparameters

ParameterTypevereist
dry_runstring
Toegestane waarden true
optioneel

Body-parameters

ParameterTypevereist
domainsstring[]vereist

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 Te veel verzoeken
GET/v1/url-intelligenceTegoeden: 2

Queryparameters

ParameterTypevereist
urlstringvereist
skip_cachestring
Toegestane waarden 1
optioneel

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 429 Te veel verzoeken
  • 502 Gatewayfout
POST/v1/url-intelligence/bulkTegoeden: 2/item

Queryparameters

ParameterTypevereist
dry_runstring
Toegestane waarden true
optioneel

Body-parameters

ParameterTypevereist
urlsstring[]vereist

Antwoordvelden

VeldType
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

Voorbeeldverzoek

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))

Voorbeeldantwoord

{
  "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-statuscodes

  • 200 OK
  • 400 Ongeldig verzoek
  • 401 Niet geautoriseerd
  • 402 Betaling vereist
  • 409 HTTP 409
  • 422 HTTP 422
  • 429 Te veel verzoeken