# Registry profile (US)

Get the full Secretary of State profile of a US company.

Returns entity number, entity type, status, formation and dissolution dates, EIN, LEI, SEC CIK, NAICS code and title, DBA and former names, the registered agent and officers. The call is not charged. Phone, email, website and agent phone are `null` until the company is unlocked — `contacts.hidden_count` tells how many values are behind it.

## Endpoint

```text
GET /api/v1/companies/:company_id/us-profile
```

Find the `company_id` with [Search](/en/docs/reference) (`POST /api/v1/companies/search` with `"filters": {"jurisdiction": ["us-de"]}`) or resolve a state entity number with `GET /api/v1/companies/get_id/:jurisdiction/:identifier` (e.g. `us-de`, `5600000`).

## Parameters

| Parameter | Type | In | Description |
| --- | --- | --- | --- |
| `company_id` | `integer` | path | Numeric Statsnet id of a US company (from search or `get_id`). |

## Code Examples

**Get US profile**

**cURL**

```bash
curl "https://statsnet.co/api/v1/companies/10000913141092/us-profile" \
  -H "x-api-key: sk_live_YOUR_KEY"
```

**Python**

```python
import requests

url = 'https://statsnet.co/api/v1/companies/10000913141092/us-profile'
headers = {'x-api-key': 'sk_live_YOUR_KEY'}

response = requests.get(url, headers=headers).json()
print(response)
```

**TypeScript**

```typescript
const url = 'https://statsnet.co/api/v1/companies/10000913141092/us-profile';

const response = await fetch(url, {
  headers: { 'x-api-key': 'sk_live_YOUR_KEY' },
});

const data = await response.json();
console.log(data);
```

**Go**

```go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://statsnet.co/api/v1/companies/10000913141092/us-profile", nil)
	req.Header.Set("x-api-key", "sk_live_YOUR_KEY")

	resp, _ := http.DefaultClient.Do(req)
	defer resp.Body.Close()

	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
```

## Response

**Success response**

```json
{
  "jurisdiction": "us-de",
  "registration_number": "5600000",
  "entity_type": "Limited Liability Company",
  "status": "Active",
  "formation_date": "2014-03-11",
  "ein": "47-1234567",
  "naics_code": "541511",
  "naics_title": "Custom Computer Programming Services",
  "dba": [
    "ACME SOFTWARE"
  ],
  "former_names": [],
  "license_count": 2,
  "contacts": {
    "locked": true,
    "hidden_count": 2,
    "phone": null,
    "email": null,
    "website": null,
    "agent_name": "THE CORPORATION TRUST COMPANY",
    "agent_phone": null,
    "people": [
      {
        "name": "JANE DOE",
        "role": "Manager",
        "is_current": true
      }
    ]
  }
}
```

## Error Handling

**Error response**

```json
{
  "status": 403,
  "message": "access denied"
}
```

An unknown `company_id` returns `{"status": 404, "message": "not found"}`.
