Get Brand
curl --request POST \
--url https://api.aisa.one/apis/v1/context-dev/get-brand \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"identifier": "stripe.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/context-dev/get-brand"
payload = { "identifier": "stripe.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({identifier: 'stripe.com'})
};
fetch('https://api.aisa.one/apis/v1/context-dev/get-brand', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/context-dev/get-brand",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'identifier' => 'stripe.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/context-dev/get-brand"
payload := strings.NewReader("{\n \"identifier\": \"stripe.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/context-dev/get-brand")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"identifier\": \"stripe.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/context-dev/get-brand")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"identifier\": \"stripe.com\"\n}"
response = http.request(request)
puts response.read_body{
"brand": {
"address": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"postal_code": "<string>",
"state_code": "<string>",
"state_province": "<string>",
"street": "<string>"
},
"backdrops": [
{
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"resolution": {
"aspect_ratio": 123,
"height": 123,
"width": 123
},
"url": "<string>"
}
],
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"description": "<string>",
"domain": "<string>",
"email": "<string>",
"employees": {
"exact": 123,
"range": "<string>"
},
"industries": {
"eic": [
{
"industry": "<string>",
"subindustry": "<string>"
}
]
},
"is_nsfw": true,
"links": {
"blog": "<string>",
"careers": "<string>",
"contact": "<string>",
"pricing": "<string>",
"privacy": "<string>",
"terms": "<string>"
},
"logos": [
{
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"mode": "<string>",
"resolution": {
"aspect_ratio": 123,
"height": 123,
"width": 123
},
"type": "<string>",
"url": "<string>"
}
],
"phone": "<string>",
"primary_language": "<string>",
"slogan": "<string>",
"socials": [
{
"type": "<string>",
"url": "<string>"
}
],
"stock": {
"exchange": "<string>",
"ticker": "<string>"
},
"title": "<string>"
},
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}Context.dev
Get Brand
Get Brand
POST
https://api.aisa.one
/
apis
/
v1
/
context-dev
/
get-brand
Get Brand
curl --request POST \
--url https://api.aisa.one/apis/v1/context-dev/get-brand \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"identifier": "stripe.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/context-dev/get-brand"
payload = { "identifier": "stripe.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({identifier: 'stripe.com'})
};
fetch('https://api.aisa.one/apis/v1/context-dev/get-brand', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/context-dev/get-brand",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'identifier' => 'stripe.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/context-dev/get-brand"
payload := strings.NewReader("{\n \"identifier\": \"stripe.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/context-dev/get-brand")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"identifier\": \"stripe.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/context-dev/get-brand")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"identifier\": \"stripe.com\"\n}"
response = http.request(request)
puts response.read_body{
"brand": {
"address": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"postal_code": "<string>",
"state_code": "<string>",
"state_province": "<string>",
"street": "<string>"
},
"backdrops": [
{
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"resolution": {
"aspect_ratio": 123,
"height": 123,
"width": 123
},
"url": "<string>"
}
],
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"description": "<string>",
"domain": "<string>",
"email": "<string>",
"employees": {
"exact": 123,
"range": "<string>"
},
"industries": {
"eic": [
{
"industry": "<string>",
"subindustry": "<string>"
}
]
},
"is_nsfw": true,
"links": {
"blog": "<string>",
"careers": "<string>",
"contact": "<string>",
"pricing": "<string>",
"privacy": "<string>",
"terms": "<string>"
},
"logos": [
{
"colors": [
{
"hex": "<string>",
"name": "<string>"
}
],
"mode": "<string>",
"resolution": {
"aspect_ratio": 123,
"height": 123,
"width": 123
},
"type": "<string>",
"url": "<string>"
}
],
"phone": "<string>",
"primary_language": "<string>",
"slogan": "<string>",
"socials": [
{
"type": "<string>",
"url": "<string>"
}
],
"stock": {
"exchange": "<string>",
"ticker": "<string>"
},
"title": "<string>"
},
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}请求规范
- 方法与路径: POST /apis/v1/context-dev/get-brand
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/context-dev/get-brand
{
"operationId": "context-dev.get-brand",
"method": "POST",
"path": "/apis/v1/context-dev/get-brand",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"city": {
"description": "City hint for transaction lookup.",
"type": "string"
},
"country": {
"description": "Country hint for name or transaction lookup.",
"type": "string"
},
"force_language": {
"description": "Provider-supported output language name, such as english or french.",
"enum": [
"afrikaans",
"albanian",
"amharic",
"arabic",
"armenian",
"assamese",
"aymara",
"azeri",
"basque",
"belarusian",
"bengali",
"bosnian",
"bulgarian",
"burmese",
"cantonese",
"catalan",
"cebuano",
"chinese",
"corsican",
"croatian",
"czech",
"danish",
"dutch",
"english",
"esperanto",
"estonian",
"farsi",
"fijian",
"finnish",
"french",
"galician",
"georgian",
"german",
"greek",
"guarani",
"gujarati",
"haitian-creole",
"hausa",
"hawaiian",
"hebrew",
"hindi",
"hmong",
"hungarian",
"icelandic",
"igbo",
"indonesian",
"irish",
"italian",
"japanese",
"javanese",
"kannada",
"kazakh",
"khmer",
"kinyarwanda",
"korean",
"kurdish",
"kyrgyz",
"lao",
"latin",
"latvian",
"lingala",
"lithuanian",
"luxembourgish",
"macedonian",
"malagasy",
"malay",
"malayalam",
"maltese",
"maori",
"marathi",
"mongolian",
"nepali",
"norwegian",
"odia",
"oromo",
"pashto",
"pidgin",
"polish",
"portuguese",
"punjabi",
"quechua",
"romanian",
"russian",
"samoan",
"scottish-gaelic",
"serbian",
"sesotho",
"shona",
"sindhi",
"sinhala",
"slovak",
"slovene",
"somali",
"spanish",
"sundanese",
"swahili",
"swedish",
"tagalog",
"tajik",
"tamil",
"tatar",
"telugu",
"thai",
"tibetan",
"tigrinya",
"tongan",
"tswana",
"turkish",
"turkmen",
"ukrainian",
"urdu",
"uyghur",
"uzbek",
"vietnamese",
"welsh",
"wolof",
"xhosa",
"yiddish",
"yoruba",
"zulu"
],
"type": "string"
},
"high_confidence_only": {
"default": false,
"description": "For transaction lookup, require additional match verification.",
"type": "boolean"
},
"identifier": {
"description": "Domain, company name, work email, ticker, full direct URL, or transaction descriptor matching lookup_type.",
"examples": [
"stripe.com"
],
"minLength": 1,
"type": "string"
},
"lookup_type": {
"description": "Kind of identifier supplied in identifier. Selects domain, company name, work email, stock ticker, direct URL, or transaction lookup.",
"enum": [
"domain",
"name",
"email",
"ticker",
"direct_url",
"transaction"
],
"type": "string"
},
"max_age_ms": {
"description": "Maximum cached brand-data age in milliseconds. The provider clamps values to 1 day through 1 year.",
"minimum": 0,
"type": "integer"
},
"max_speed": {
"default": false,
"description": "Prefer faster but potentially less comprehensive retrieval.",
"type": "boolean"
},
"merchant_category_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Merchant Category Code hint for transaction lookup, as text or a number."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Phone-number hint for transaction lookup, as text or a number."
},
"tags": {
"description": "Up to 20 usage-tracking tags, each 1-50 characters.",
"items": {
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"ticker_exchange": {
"description": "Stock exchange identifier for ticker lookup; omit to let Context.dev default to NASDAQ.",
"minLength": 1,
"type": "string"
},
"timeout_ms": {
"description": "Provider timeout in milliseconds, from 1000 through 300000.",
"maximum": 300000,
"minimum": 1000,
"type": "integer"
}
},
"required": [
"lookup_type",
"identifier"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0253 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json
Provider-supported output language name, such as english or french.
可用选项:
afrikaans, albanian, amharic, arabic, armenian, assamese, aymara, azeri, basque, belarusian, bengali, bosnian, bulgarian, burmese, cantonese, catalan, cebuano, chinese, corsican, croatian, czech, danish, dutch, english, esperanto, estonian, farsi, fijian, finnish, french, galician, georgian, german, greek, guarani, gujarati, haitian-creole, hausa, hawaiian, hebrew, hindi, hmong, hungarian, icelandic, igbo, indonesian, irish, italian, japanese, javanese, kannada, kazakh, khmer, kinyarwanda, korean, kurdish, kyrgyz, lao, latin, latvian, lingala, lithuanian, luxembourgish, macedonian, malagasy, malay, malayalam, maltese, maori, marathi, mongolian, nepali, norwegian, odia, oromo, pashto, pidgin, polish, portuguese, punjabi, quechua, romanian, russian, samoan, scottish-gaelic, serbian, sesotho, shona, sindhi, sinhala, slovak, slovene, somali, spanish, sundanese, swahili, swedish, tagalog, tajik, tamil, tatar, telugu, thai, tibetan, tigrinya, tongan, tswana, turkish, turkmen, ukrainian, urdu, uyghur, uzbek, vietnamese, welsh, wolof, xhosa, yiddish, yoruba, zulu