Skip to main content

Base URL

All API requests should be made to:
https://api.peoplecontext.com

Authentication

All requests require an API key passed in the Authorization header:
Authorization: Bearer your_api_key_here
See Authentication for detailed information.

Response Format

All responses are returned as JSON with appropriate HTTP status codes.

Success Response

{
  "id": 1,
  "full_name": "John Doe",
  "email": "[email protected]",
  ...
}

Error Response

{
  "detail": "Error message describing what went wrong"
}

HTTP Status Codes

CodeDescription
200Success - Request completed successfully
201Created - Resource created successfully
204No Content - Request succeeded, no content returned
400Bad Request - Invalid request parameters
401Unauthorized - Missing or invalid API key
403Forbidden - Insufficient permissions
404Not Found - Resource not found
429Too Many Requests - Rate limit exceeded
500Internal Server Error - Server error

Rate Limiting

API rate limits are enforced per API key. Response headers include:
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 299
X-RateLimit-Reset: 1635724800
See Authentication for rate limit details by plan.

Pagination

List endpoints support pagination via query parameters:
GET /api/v1/profiles?skip=0&limit=100
skip
integer
default:"0"
Number of records to skip
limit
integer
default:"100"
Maximum number of records to return (max: 100)

Filtering

Use the required_fields parameter to filter results:
GET /api/v1/webset/person?github=username&required_fields=personal_email,linkedin
Multiple fields are treated as OR - the profile must have at least one of the specified fields.

Versioning

The API version is included in the URL path:
/api/v1/...
We maintain backward compatibility within major versions. Breaking changes will result in a new major version.

OpenAPI Specification

Download the OpenAPI specification:
curl https://api.peoplecontext.com/api/v1/openapi.json
Or view the interactive documentation at:
https://api.peoplecontext.com/docs

Support

Need help? Contact us:

Endpoints