Technologies
通过域名获取公司网站所用的技术,以及该域名开通了账号的服务商。
GET | POST /v1/company/technologies参数可以用 GET 的查询字符串发送,也可以用 POST 的 JSON 请求体发送,两者等价。
请求
curl "https://gateway.apinoa.com/v1/company/technologies?domain=allbirds.com" \
-H "x-api-key: $APINOA_API_KEY"参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
domain | string | 是 | The company's domain, e.g. stripe.com. A web address (https://stripe.com/pricing) is accepted and read as its host. |
这些参数及所有响应类型也写在OpenAPI 文档中。
响应
在 data 中返回 TechnologiesResult。 真实响应的节选:数组只保留前几项,长文本已截断。
{
"success": true,
"data": {
"domain": "allbirds.com",
"technologies": [
{
"name": "Apple Pay",
"categories": [
"Payment processors"
],
"confidence": 100,
"website": "https://www.apple.com/apple-pay",
"evidence": [
{
"source": "html",
"field": "dom",
"match": "script#apple-pay-shop-capabilities"
}
]
},
{
"name": "Cloudflare",
"categories": [
"CDN"
],
"confidence": 100,
"website": "http://www.cloudflare.com",
"evidence": [
{
"source": "header",
"field": "server",
"match": "cloudflare"
}
]
}
],
"accounts": [
{
"name": "Apple Business Manager",
"categories": [
"Productivity"
],
"confidence": 100,
"website": "https://business.apple.com",
"evidence": [
{
"source": "dns",
"field": "TXT",
"match": "apple-domain-verification=WZou6gNEgG7pdiR8"
}
]
},
{
"name": "DocuSign",
"categories": [
"Miscellaneous"
],
"confidence": 100,
"website": "https://www.docusign.com",
"evidence": [
{
"source": "dns",
"field": "TXT",
"match": "docusign"
}
]
}
],
"page": {
"url": "https://allbirds.com/",
"finalUrl": "https://www.allbirds.com/",
"status": 200,
"title": "Allbirds: Comfortable, Sustainable Shoes & Apparel",
"redirects": [
{
"url": "https://allbirds.com/",
"status": 301
}
],
"headers": {
"content-language": "en-US",
"content-type": "text/html; charset=utf-8",
"powered-by": "Shopify",
"server": "cloudflare",
"strict-transport-security": "max-age=7889238",
"x-frame-options": "DENY"
},
"cookies": [
"localization",
"cart_currency"
],
"meta": {
"google-site-verification": [
"ZNR0Rl2hoA59yYC2Q_tdf2_eZbNlU8MbDxpucmURUTs",
"IodPVyDkZkebGb9wtFqpDrKX-cx8ajU4XJcNaEpF-8k"
],
"description": [
"Allbirds: The world’s most comfortable shoes, flats, and clothing made…"
],
"og:site_name": [
"Allbirds"
],
"og:url": [
"https://www.allbirds.com/"
],
"og:title": [
"The World’s Most Comfortable Shoes"
]
},
"scripts": [
"https://www.allbirds.com/cdn/shop/t/4159/assets/theme2.js",
"https://cdn.shopify.com/s/files/1/1104/4168/files/jsEncrypt.js?v=1756910700"
],
"lang": "en-US"
},
"dns": {
"a": [
"23.227.38.32"
],
"aaaa": [],
"cname": [
"shops.myshopify.com"
],
"mx": [
{
"exchange": "allbirds-com.mail.protection.outlook.com",
"priority": 0
}
],
"ns": [
"ns1.markmonitor.com",
"ns2.markmonitor.com"
],
"txt": [
"MS=ms40651830",
"apple-domain-verification=WZou6gNEgG7pdiR8"
],
"soa": {
"nsname": "ns1.markmonitor.com",
"hostmaster": "hostmaster.markmonitor.com"
}
},
"robots": {
"status": 200,
"sitemaps": [
"https://www.allbirds.com/sitemap.xml"
]
}
}
}错误
| 状态 | 代码 | 含义 |
|---|---|---|
| 400 | INVALID_PARAMS | 缺少 domain,或它不是域名、不是公开网站。消息中会说明原因。 |
| 401 | UNAUTHORIZED | 缺少 x-api-key 请求头,或密钥已吊销或未知。 |
| 402 | INSUFFICIENT_BALANCE | 余额不足以支付本次调用。请在控制台充值。 |
| 404 | NOT_FOUND | 域名无法解析。 |
| 429 | MARKETPLACE_SATURATED | 并发调用过多。请等待 Retry-After 秒后重试。 |
| 502 | UPSTREAM_ERROR | 平台返回了无法使用的内容。请退避后重试。 |
全部错误代码见 Errors。失败的调用不计费。
价格
价格 每次调用 $0.001。标价;单日调用超过 1,000 次后单价下调。
说明
- 网站无响应或以验证页面作答都不算错误:
page.error或page.blocked会说明,响应头和 DNS 中的内容照常返回。 - 每种类型的字段见 Response Schema。