Back to all endpoints
Inactive Companies
Identify whether a company is no longer active (acquired, merged, or defunct).
POST /v1/inactive_companies10 credits per request
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Required | The company website URL to look up - Domain names are extracted automatically |
Response format
Successful responses return a 200 status code with the following structure:
1{
2 "status_code": 200,
3 "status": "Success",
4 "results": [
5 {
6 "input_url": "https://example.com",
7 "extracted_domain": "example.com",
8 "credit_cost": 10,
9 "is_inactive": false
10 }
11 ]
12}Error responses
400 Error
Invalid URL provided
402 Error
Insufficient credits
403 Error
Forbidden - Invalid or missing API key
Code examples
1curl -X POST https://api.magellandata.io/v1/inactive_companies \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "url": "https://example.com"
6 }'Try it out
Note: The interactive playground may not work due to browser CORS restrictions. For testing, we recommend using the code examples above with tools like Postman, cURL, or your own application code.
Try it now
Don't have an API key? Sign up for free