{SERVER_ADDRESS}, {VERSION}
and {LICENCE_CODE} are provided by DQE upon
account creation. Contact your DQE account manager to obtain
these credentials.
using var client = new HttpClient();
var url = "https://{SERVER_ADDRESS}/{VERSION}/lookupcname/"
+
"?CompanyName=dqe%20paris&Country=FRA&Licence={LICENCE_CODE}&Filter=1";
var response = await client.GetAsync(url);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
using var client = new HttpClient();
var form = new Dictionary<string, string>
{
["Licence"] = "{LICENCE_CODE}",
["CompanyName"] = "dqe paris",
["Country"] = "FRA",
["Filter"] = "1"
};
var response = await client.PostAsync(
"https://{SERVER_ADDRESS}/{VERSION}/lookupcname/",
new FormUrlEncodedContent(form));
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
Address of the DQE server that will process the data.
Mandatory
VERSION
Version of the API. Example: v1
Mandatory
Licence
Number assigned to you as your licence code.
Mandatory
CompanyName
User input: company name.
Mandatory
Country
ISO 3-letter country code.
Mandatory
Filter
Company status filter. Several values can be separated
by commas.
1 — Opened diffusible
2 — Closed diffusible
3 — Closed old (+3 years) diffusible
4 — Non-diffusible
5 — RNA
Example: Filter=1,2
Optional. Default value: 1
Optional
NAF25
Get the new value of Sic Code in France or not: True
/ False
Optional. Default value: False
Optional
Test the API
Click the button below to test this endpoint live in your browser.
{SERVER_ADDRESS}, {VERSION}
and {LICENCE_CODE} are provided by DQE upon
account creation. Contact your DQE account manager to obtain
these credentials.
using var client = new HttpClient();
var url = "https://{SERVER_ADDRESS}/{VERSION}/lookupcnum/"
+
"?CompanyNumber=504xxxxxx&Country=FRA&Licence={LICENCE_CODE}&Filter=1";
var response = await client.GetAsync(url);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
using var client = new HttpClient();
var form = new Dictionary<string, string>
{
["Licence"] = "{LICENCE_CODE}",
["CompanyNumber"] = "504xxxxxx",
["Country"] = "FRA",
["Filter"] = "1"
};
var response = await client.PostAsync(
"https://{SERVER_ADDRESS}/{VERSION}/lookupcnum/",
new FormUrlEncodedContent(form));
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
Address of the DQE server that will process the data.
Mandatory
VERSION
Version of the API. Example: v1
Mandatory
Licence
Number assigned to you as your licence code.
Mandatory
CompanyNumber
User input: company number.
Mandatory
Country
ISO 3-letter country code.
Mandatory
Filter
Company status filter. Several values can be separated
by commas.
1 — Opened diffusible
2 — Closed diffusible
3 — Closed old (+3 years) diffusible
4 — Non-diffusible
5 — RNA
Example: Filter=1,2
Optional. Default value: 1
Optional
NAF25
Get the new value of Sic Code in France or not: True
/ False
Optional. Default value: False
Optional
Test the API
Click the button below to test this endpoint live in your browser.
Open console
Company Name and Postal Code
Search for companies using their name together with a postal
code, for a more precise match.
{SERVER_ADDRESS} and {LICENCE_CODE}
are provided by DQE upon account creation. Contact your DQE account
manager to obtain these credentials.
Version-specific: this operation is only available
on API version v1 — it is not available on
v2. Use v1 in the URL for this operation
specifically, even though other B2B Restful operations support
both versions.
using var client = new HttpClient();
var url = "https://{SERVER_ADDRESS}/v1/checkcname/"
+
"?CompanyName=dqe%20paris&Country=FRA&PostalCode=75017&Licence={LICENCE_CODE}&Filter=1";
var response = await client.GetAsync(url);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
using var client = new HttpClient();
var form = new Dictionary<string, string>
{
["Licence"] = "{LICENCE_CODE}",
["CompanyName"] = "dqe paris",
["PostalCode"] = "75017",
["Country"] = "FRA",
["Filter"] = "1"
};
var response = await client.PostAsync(
"https://{SERVER_ADDRESS}/v1/checkcname/",
new FormUrlEncodedContent(form));
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
Address of the DQE server that will process the data.
Mandatory
VERSION
Fixed to v1 for this operation — not
configurable, v2 does not support it.
Mandatory
Licence
Number assigned to you as your licence code.
Mandatory
CompanyName
User input: company name.
Mandatory
PostalCode
Postal code.
Mandatory
Country
ISO 3-letter country code.
Mandatory
Filter
Company status filter. Several values can be separated
by commas.
1 — Opened diffusible
2 — Closed diffusible
3 — Closed old (+3 years) diffusible
4 — Non-diffusible
5 — RNA
Example: Filter=1,2
Optional. Default value: 1
Optional
NAF25
Get the new value of Sic Code in France or not: True
/ False
Optional. Default value: False
Optional
Test the API
Click the button below to test this endpoint live in your browser.
Open console
Response
This response shape is shared by all three request modes above
(lookupcname, lookupcnum and
checkcname).
The JSON response is a dictionary (object) containing two main
keys:
Found: integer indicating the number of
companies found.
Companies: list containing one or more company
objects.
Each company object contains the following keys:
Key
Description
Type / Constraints
City
City where the company is located.
String, up to 100 characters
L1Standardized
Standardized address line 1, often the registered name.
String, up to 255 characters
MainCompanyFlag
Indicates if this is the main company record. 1:
yes; 0: no.
String or integer
CompanyStatus
Administrative status of the company. 0:
active.
String or integer
VatNumber
Intra-Community VAT number.
This field is empty if the company is not subject
to VAT.
String
SearchRef
Internal reference linking the result to the search
request.
String
PhoneNumber
Company phone number.
String
LegalStructure
Legal form of the company.
Array of objects: { Value, Label }
L2Standardized
Standardized address line 2.
String
CompanyNumber
Set of legal identifiers, such as SIREN and NIC.
Array of objects: { Type, Value }
CompanyCName
Commercial name or full company name.
String
IncorporationDate
Date the company was created.
String, YYYY-MM-DD
StaffCount
Declared employee count or range.
String
Classification
Business activity classification codes.
Array of objects: { Type, Value, Label }
L5Standardized
Standardized address line 5.
String
DissolutionDate
Date the company ceased to exist, if applicable.
String, YYYY-MM-DD
L4Standardized
Standardized address line containing street and number.