Overview
API Overview¶
The OpenProspect Developer API is a REST API that provides programmatic access to company data from your prospect searches.
Base URL¶
All API requests should be made to:
For staging/testing:
Authentication¶
All API requests require authentication via API key:
Learn more about authentication →
Request Format¶
The API accepts requests with:
- Method: Standard HTTP methods (GET, POST, PUT, DELETE)
- Headers: JSON content type for request bodies
- Parameters: Query parameters for GET requests, JSON body for POST/PUT
Example request:
GET /api/v1/companies/?prospect_search_id=<uuid>&limit=10 HTTP/1.1
Host: api.openprospect.io
Authorization: Bearer lnc_live_your_api_key_here
Accept: application/json
Response Format¶
All responses are returned in JSON format:
Success Responses¶
- 200 OK: Request successful, response body contains data
- 201 Created: Resource created successfully
- 204 No Content: Request successful, no response body
Error Responses¶
- 400 Bad Request: Invalid request parameters
- 401 Unauthorized: Missing or invalid API key
- 403 Forbidden: API key lacks required permissions
- 404 Not Found: Resource doesn't exist
- 429 Too Many Requests: Rate limit exceeded
- 500 Internal Server Error: Server error, contact support
Error response format:
Pagination¶
All list endpoints support offset-based pagination:
Parameters:
limit- Number of results per page (1-100, default 50)offset- Number of results to skip (default 0)
Response:
To get the next page:
Rate Limiting¶
Rate limits are enforced per API key and returned in response headers:
Rate Limit Tiers:
- Free: 100 requests/hour
- Pro: 1,000 requests/hour
- Enterprise: Custom limits
When limit exceeded, you'll receive a 429 response:
{
"error": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 3600 seconds.",
"retry_after": 3600
}
Filtering¶
List endpoints support filtering via query parameters:
Common filters:
min_match_score- Minimum match score (0-10)review_status- Filter by acceptance statussearch- Text search across multiple fields
See Companies API for available filters →
Data Types¶
UUID¶
All IDs are UUIDs in standard format:
Timestamps¶
All timestamps are in ISO 8601 format with UTC timezone:
Match Scores¶
Match scores are floats from 0.0 to 10.0:
Versioning¶
The API is versioned via URL path:
Current version: v1
Breaking changes will be introduced in new versions (v2, v3, etc.). Non-breaking changes may be added to existing versions.
SDK Support¶
Official SDKs coming soon:
- 🔜 Python SDK
- 🔜 TypeScript/JavaScript SDK
- 🔜 Go SDK
For now, use standard HTTP clients. See our code examples for integration patterns.
OpenAPI Specification¶
Download the full OpenAPI spec:
Import this into tools like:
- Postman
- Insomnia
- OpenAPI Generator
- Swagger UI
Support¶
- API Support: Contact your account manager
- Status Page: status.openprospect.io