Look up a Chinese company
curl --request POST \
--url https://sandbox-api.bullring.finance/v1/banking/lookup/china-company \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"company_name": "字节跳动有限公司"
}
'import requests
url = "https://sandbox-api.bullring.finance/v1/banking/lookup/china-company"
payload = { "company_name": "字节跳动有限公司" }
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({company_name: '字节跳动有限公司'})
};
fetch('https://sandbox-api.bullring.finance/v1/banking/lookup/china-company', 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://sandbox-api.bullring.finance/v1/banking/lookup/china-company",
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([
'company_name' => '字节跳动有限公司'
]),
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://sandbox-api.bullring.finance/v1/banking/lookup/china-company"
payload := strings.NewReader("{\n \"company_name\": \"字节跳动有限公司\"\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://sandbox-api.bullring.finance/v1/banking/lookup/china-company")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"company_name\": \"字节跳动有限公司\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v1/banking/lookup/china-company")
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 \"company_name\": \"字节跳动有限公司\"\n}"
response = http.request(request)
puts response.read_body{
"valid": true,
"error_code": "NOT_FOUND",
"company_name": "字节跳动有限公司",
"candidates": [
{
"company_id": "91110000600000000X",
"registered_name": "字节跳动有限公司",
"source": "qichacha",
"status": "存续",
"registered_location": "北京市海淀区..."
}
],
"prefill": {
"company_id": "91110000600000000X",
"business_name": "字节跳动有限公司",
"registered_address": "北京市海淀区..."
}
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}Recipients
Look up a Chinese company
Find a registered Chinese company ID before creating a CNY business recipient.
POST
/
v1
/
banking
/
lookup
/
china-company
Look up a Chinese company
curl --request POST \
--url https://sandbox-api.bullring.finance/v1/banking/lookup/china-company \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"company_name": "字节跳动有限公司"
}
'import requests
url = "https://sandbox-api.bullring.finance/v1/banking/lookup/china-company"
payload = { "company_name": "字节跳动有限公司" }
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({company_name: '字节跳动有限公司'})
};
fetch('https://sandbox-api.bullring.finance/v1/banking/lookup/china-company', 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://sandbox-api.bullring.finance/v1/banking/lookup/china-company",
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([
'company_name' => '字节跳动有限公司'
]),
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://sandbox-api.bullring.finance/v1/banking/lookup/china-company"
payload := strings.NewReader("{\n \"company_name\": \"字节跳动有限公司\"\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://sandbox-api.bullring.finance/v1/banking/lookup/china-company")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"company_name\": \"字节跳动有限公司\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v1/banking/lookup/china-company")
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 \"company_name\": \"字节跳动有限公司\"\n}"
response = http.request(request)
puts response.read_body{
"valid": true,
"error_code": "NOT_FOUND",
"company_name": "字节跳动有限公司",
"candidates": [
{
"company_id": "91110000600000000X",
"registered_name": "字节跳动有限公司",
"source": "qichacha",
"status": "存续",
"registered_location": "北京市海淀区..."
}
],
"prefill": {
"company_id": "91110000600000000X",
"business_name": "字节跳动有限公司",
"registered_address": "北京市海淀区..."
}
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}Use this lookup before creating a CNY recipient for a business. It searches
the native Chinese company name and returns the registered company ID
(
company_id) needed by the recipient request.
Use the company’s registered Chinese name. The endpoint is rate-limited to 30
requests per minute per user.
Using the result
Useprefill.company_id or the selected candidate’s company_id in the
company_id field when creating a CNY business bank-transfer recipient.
Prefill the business name and registered address when appropriate.
No matches return a successful response with valid: false,
error_code: "NOT_FOUND", and an empty candidates array.
Errors
| Status | Cause |
|---|---|
400 | Missing or invalid company_name |
401 | Missing or invalid dashboard authentication |
429 | Lookup rate limit exceeded |
503 | Lookup service temporarily unavailable |
Body
application/json