Skip to main content
The PG:AI API gives you programmatic access to account intelligence, territory data, contacts, content, and AI-powered insights. Use it to pull intelligence into your own tools, automate workflows, or build custom integrations.

Base URL

https://api.getpg.ai/public-api/v1

Quick Start

1

Get your API key

Generate an API key in Settings > API Keys within your PG:AI workspace.
2

Make your first request

curl -X POST "https://api.getpg.ai/public-api/v1/accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{}'
3

Explore the endpoints

Browse the API Reference for interactive endpoint documentation, or read the guides below.

Endpoint Reference

Authentication

API key setup, permissions, and error handling

Companies

Company data, profiles, contacts, and tech stacks

Contacts

List and retrieve contacts with full profile data

Territories

Territory management and company lists

Search

Unified semantic search across companies, contacts, and content

Organization

Organization settings and credit usage

Available Endpoints

Endpoints marked [BETA] are stable for production use but may have minor changes before general availability. Endpoints marked [ALPHA] are early access and subject to change.
MethodEndpointMaturityDescription
POST/v1/accountsGASearch for accounts
POST/v1/companiesBETAAdd a company (async enrichment)
GET/v1/companies/{company_id}GAGet company by ID
GET/v1/companies/{company_id}/profileGAGet customizable company profile
POST/v1/companies/{company_id}/contactsGASearch company contacts
POST/v1/companies/{company_id}/contacts/searchGASearch contacts for a company
GET/v1/companies/{company_id}/graphBETAGet company relevance graph
GET/v1/companies/{company_id}/relevanceBETAGet company relevance signals
GET/v1/companies/{company_id}/searchALPHASearch documents about a company
GET/v1/companies/{company_id}/jobsGAList job postings for a company
GET/v1/companies/{company_id}/alertsGAList alerts for a company
GET/v1/companies/{company_id}/canvasGAList canvases for a company
GET/v1/companies/{company_id}/eventsBETAList monitoring events for a company
GET/v1/companies/{company_id}/agent/sessionsBETAList agent sessions for a company
GET/v1/contactsBETAList contacts
POST/v1/contacts/searchBETASearch contacts (workspace)
POST/v1/contacts/{contact_id}/enrich/contact_infoBETAEnrich contact with phone/email
GET/v1/territoriesBETAList territories
GET/v1/territories/{territory_id}BETAGet territory by ID
GET/v1/territories/{territory_id}/companiesBETAList territory companies
GET/v1/searchBETAUnified semantic search
GET/v1/agent/sessionsBETAList workspace agent sessions
GET/v1/canvasBETAList canvases (workspace)
GET/v1/canvas/templatesGAList canvas templates
GET/v1/alertsGAList alerts (workspace)
PATCH/v1/alerts/{alert_id}GAUpdate alert status
GET/v1/eventsBETAList monitoring events (workspace)
GET/v1/jobsGAList job postings (workspace)
GET/v1/filtersBETAGet filter metadata
GET/v1/operations/{public_operation_id}BETAPoll async operation status
GET/v1/organization/creditsGAGet organization credits

Rate Limits

API requests are rate-limited based on your plan. When you hit the limit, the API returns 429 Too Many Requests. See the Authentication page for details on rate limit headers.

Interactive API Reference

The API Reference in the top navigation provides an interactive playground powered by our live OpenAPI specification. You can test endpoints directly from the docs with your API key.