Pobierz dane firmy z GUS po NIP
GET
/api/v3/Contractors/FromGus
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Contractors/FromGus';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Contractors/FromGus \ --header 'Authorization: Bearer <token>'Zwraca dane rejestrowe firmy z bazy GUS (REGON) dla podanego numeru NIP.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”nip
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
companyName
string
firstName
string
lastName
string
isCompany
boolean
companyTaxId
object
nip
string
countryCode
string
address
object
apartmentNo
string
houseNo
string
street
string
city
string
postCode
string
state
string
countryCode
string
fullNumber
string
isEu
boolean
address
string
community
string
county
string
voivodeship
string
email
string
phone
string
businessEndDate
string format: date-time
suspensionStartDate
string format: date-time
resumptionDate
string format: date-time
Examplegenerated
{ "companyName": "example", "firstName": "example", "lastName": "example", "isCompany": true, "companyTaxId": { "nip": "example", "countryCode": "example" }, "address": { "apartmentNo": "example", "houseNo": "example", "street": "example", "city": "example", "postCode": "example", "state": "example", "countryCode": "example", "community": "example", "county": "example", "voivodeship": "example" }, "email": "example", "phone": "example", "businessEndDate": "2026-04-15T12:00:00Z", "suspensionStartDate": "2026-04-15T12:00:00Z", "resumptionDate": "2026-04-15T12:00:00Z"}Bad Request
Typ treściapplication/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Server Error

