Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getpg.ai/llms.txt

Use this file to discover all available pages before exploring further.

Search Accounts

Search for companies (accounts) across your organization using a variety of filters. Send an empty body {} to return all results.
company_name
string
Filter by company name (partial match).
industry
string
Filter by industry.
country
string
Filter by country.
employee_size_category
string
Filter by employee size category.
revenue_category
string
Filter by revenue category.
public_company
boolean
Filter by public company status.
page
integer
default:"1"
Page number for pagination.
per_page
integer
default:"50"
Number of items per page.
Permission: accounts:read
curl -X POST "https://api.getpg.ai/public-api/v1/accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "industry": "Technology",
    "per_page": 10
  }'
[
  {
    "id": "0472a8a1-bdc4-4f53-93f6-7d9a967beb76",
    "company_name": "Sprout Social",
    "website_domain": "sproutsocial.com",
    "public_company": true,
    "country_code": "US",
    "linkedin_url": "https://www.linkedin.com/company/sprout-social-inc-",
    "hq_city": "Chicago",
    "hq_state": "IL",
    "hq_country_name": "United States",
    "region": "North America",
    "ceo": "Mr. Ryan Paul Barretto",
    "sector": "Technology",
    "industry": "Apps",
    "revenue_range": "$100M-$500M",
    "employee_count_range": "1001-5000",
    "full_time_employees": 1322,
    "description": "Sprout Social, Inc. designs, develops, and operates a web-based social media management platform...",
    "stock_ticker": "SPT",
    "market_cap": 337111258,
    "stock_currency": "USD",
    "stock_exchange_name": "NASDAQ Capital Market"
  }
]

Get Company

Retrieve detailed information about a specific company by its ID.
company_id
string
required
The unique identifier (UUID) of the company.
Permission: insights:read
curl -X GET "https://api.getpg.ai/public-api/v1/companies/{company_id}" \
  -H "x-api-key: your_api_key"
{
  "company_id": "0472a8a1-bdc4-4f53-93f6-7d9a967beb76",
  "company_name": "Sprout Social",
  "website_domain": "sproutsocial.com",
  "public_company": true,
  "country_code": "US",
  "linkedin_url": "https://www.linkedin.com/company/sprout-social-inc-",
  "hq_city": "Chicago",
  "hq_state": "IL",
  "hq_country_name": "United States",
  "region": "North America",
  "ceo": "Mr. Ryan Paul Barretto",
  "sector": "Technology",
  "industry": "Apps",
  "revenue_range": "$100M-$500M",
  "employee_count_range": "1001-5000",
  "full_time_employees": 1322,
  "description": "Sprout Social, Inc. designs, develops, and operates a web-based social media management platform...",
  "stock_ticker": "SPT",
  "market_cap": 337111258,
  "stock_currency": "USD",
  "stock_exchange_name": "NASDAQ Capital Market",
  "stock_exchange_symbol": "NASDAQ"
}
{
  "error": "Not a valid UUID."
}
{
  "error": "You do not have access to this company"
}

Get Company Profile

Retrieve a customizable company profile with selectable sections. Use the include parameter to request specific sections, or pass full to get everything.
company_id
string
required
The unique identifier (UUID) of the company.
include
string
Comma-separated list of profile sections to include. Use full for all sections.Available sections: overview, key_executives, divisions, geographical_operations, swot_analysis, competitors, industry_insights, strategic_priorities, digital_strategies, risks, goals, insights_scores, events, value_pyramid, three_whys, discovery_questions, custom_insights, content
exclude
string
Comma-separated list of profile sections to exclude. Useful when requesting full but omitting certain sections.
sources
string
Set to true to include source citations alongside profile data.
Permission: insights:read
curl -X GET "https://api.getpg.ai/public-api/v1/companies/{company_id}/profile?include=overview,swot_analysis,competitors,key_executives" \
  -H "x-api-key: your_api_key"
{
  "company_id": "0472a8a1-bdc4-4f53-93f6-7d9a967beb76",
  "company_name": "Sprout Social",
  "website_domain": "sproutsocial.com",
  "hq_country_name": "United States",
  "industry": "Apps",
  "revenue_range": "$100M-$500M",
  "employee_count_range": "1001-5000",
  "overview": {
    "public_company": true,
    "country_code": "US",
    "linkedin_url": "https://www.linkedin.com/company/sprout-social-inc-",
    "hq_city": "Chicago",
    "hq_state": "IL",
    "region": "North America",
    "ceo": "Mr. Ryan Paul Barretto",
    "sector": "Technology",
    "full_time_employees": 1322,
    "description": "Sprout Social, Inc. designs, develops, and operates a web-based social media management platform..."
  },
  "swot_analysis": [
    {
      "name": "AI-Powered Platform with Proprietary Trellis Agent",
      "type": "STRENGTH",
      "description": "Sprout Social has developed a proprietary AI agent called Trellis that transforms social data into actionable insights..."
    },
    {
      "name": "Limited International Presence",
      "type": "WEAKNESS",
      "description": "Despite growing international revenue, Sprout Social remains heavily concentrated in the North American market..."
    },
    {
      "name": "AI-Driven Social Commerce",
      "type": "OPPORTUNITY",
      "description": "The convergence of social media and e-commerce presents a significant growth opportunity..."
    },
    {
      "name": "Increasing Competition from AI-Native Platforms",
      "type": "THREAT",
      "description": "New AI-native social media management platforms pose a competitive threat..."
    }
  ],
  "competitors": [
    {
      "name": "Hootsuite",
      "website": "https://hootsuite.com",
      "description": "Hootsuite is a comprehensive social media management platform..."
    },
    {
      "name": "Zoho Social",
      "website": "https://www.zoho.com/social/",
      "description": "Zoho Social is a social media management tool..."
    }
  ],
  "key_executives": [
    {
      "name": "Ryan Barretto",
      "title": "Chief Executive Officer and Member of the Board of Directors"
    },
    {
      "name": "Justyn Howard",
      "title": "Executive Chair and Member of the Board of Directors"
    }
  ]
}

Get Company Content

Retrieve AI-generated content for a company, such as emails, executive reports, and call scripts.
company_id
string
required
The unique identifier (UUID) of the company.
type
string
Filter by content type. Valid values: email, document, call_script, notes
Permission: insights:read
curl -X GET "https://api.getpg.ai/public-api/v1/companies/{company_id}/content?type=email" \
  -H "x-api-key: your_api_key"
[
  {
    "id": "9e106d89-a191-439f-a49f-b225e8fe24fe",
    "content_type": "document",
    "title": "Executive Report: Accelerating Enterprise Growth with PG:AI",
    "content": "Subject: Executive Report...\n\nOur Understanding of Your Business..."
  },
  {
    "id": "3aa65f1a-8b4a-480b-a947-da49ebcb1d29",
    "content_type": "email",
    "title": "Accelerate Enterprise Pipeline & GTM Alignment",
    "content": "Subject: Accelerate Enterprise Pipeline...\n\nHi {Name},\n\nIn your recent earnings call..."
  }
]

Search Company Contacts

Search and filter contacts associated with a specific company. Uses POST to support complex filter combinations in the request body.
company_id
string
required
The unique identifier (UUID) of the company.
page
integer
default:"1"
Page number for pagination.
per_page
integer
default:"25"
Number of items per page.
name
string
Filter contacts by name.
job_title
string
Filter contacts by job title.
location
string
Filter contacts by location.
Permission: contacts:read
curl -X POST "https://api.getpg.ai/public-api/v1/companies/{company_id}/contacts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "per_page": 10
  }'
{
  "contacts": [
    {
      "id": "deb3474b-5836-492c-aca4-4e0ccc8afbae",
      "full_name": "Iain Donachie",
      "first_name": "Iain",
      "last_name": "Donachie",
      "current_job_title": "Head of Gift Cards UK & Ireland, Tesco",
      "linkedin_url": "https://www.linkedin.com/in/iain-donachie-6bb3406",
      "location": "Edinburgh, Scotland, United Kingdom",
      "country": "United Kingdom",
      "country_code": "GB",
      "summary": "",
      "image_url": "https://media.licdn.com/dms/image/...",
      "created_at": "2026-04-01T12:47:07.324Z",
      "updated_at": null
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 10,
    "total": 42,
    "total_pages": 5
  }
}

Get Company Technologies

Retrieve the technology stack for a company with optional filtering. Uses POST to support filter parameters in the request body.
company_id
string
required
The unique identifier (UUID) of the company.
category
string
Filter by technology category. Valid categories include: Data, BI and Analytics, Collaboration, Communications, Customer Management, Devops And Development, E-commerce, Finance And Accounting, IT Security, Marketing, Sales, and more.
confidence
string
Filter by detection confidence level.
favourites
boolean
Set to true to only return technologies marked as favourites in your workspace.
query
string
Search query to filter technologies by name.
page
integer
default:"1"
Page number for pagination.
per_page
integer
default:"100"
Number of items per page.
Permission: insights:read
curl -X POST "https://api.getpg.ai/public-api/v1/companies/{company_id}/technologies" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "category": "IT Security",
    "per_page": 50
  }'
[
  {
    "name": "Cloudflare",
    "category": "IT Security",
    "sub_category": "CDN & DDoS Protection",
    "confidence": "high"
  },
  {
    "name": "CrowdStrike",
    "category": "IT Security",
    "sub_category": "Endpoint Security",
    "confidence": "medium"
  }
]