Skip to main content

Authentication

All endpoints require a Bearer token. Pass your agntdata API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY

Get your API key

Sign up or log in to generate an API key from the dashboard. Free tier available — no credit card required.

Integration Options

Call the API directly with any HTTP client — curl, fetch, or any language.
1

Get your API key

Sign up at agntdata.dev and generate your API key from the dashboard.
2

Make a request

Include your API key as a Bearer token in the Authorization header.
curl -X GET "https://api.agntdata.dev/v1/linkedin/get-company-details?username=microsoft" \
  -H "Authorization: Bearer YOUR_API_KEY"
3

Parse the response

All endpoints return structured JSON. Parse the response and use the data in your application.
{
  "success": true,
  "data": {
    "name": "Microsoft",
    "staffCount": 228000,
    "industries": ["Software Development"],
    "website": "https://microsoft.com"
  }
}

Example Requests

Here are some common requests to get you started:
curl -X GET "https://api.agntdata.dev/v1/linkedin/get-company-details?username=microsoft" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Format

All API responses follow a consistent format:
{
  "success": true,
  "data": {
    // Platform-specific data
  },
  "meta": {
    "costCents": 1,
    "purchasedBalanceCents": 949,
    "subscriptionRemainingCents": 500,
    "cached": false,
    "latencyMs": 245
  }
}
Error responses include an error object:
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}

Next Steps

API Reference

Browse all available endpoints across platforms.

Authentication

Learn more about API key management and security.

Error Handling

Understand error codes and how to handle them.

Rate Limits

Learn about rate limits and best practices.