canonical: https://jentic.com/apis/servicegraph.co/servicegraph

# ServiceGraph API

The ServiceGraph API searches a database of US professional-services firms organised into datasets, returning brief firm rows for free and full detail once a row is unlocked with credits. Each dataset publishes its own filterable field list, so you can validate a DSL filter string or translate a plain-English intent into one before searching. Beyond lookup, the API lets you build private firm lists with typed custom columns, track your credit balance and spend history, and run directory-submission projects that extract brand assets from a product URL and submit them to every directory in a saved list.

## For AI agents

Search ServiceGraph datasets of US professional-services firms with DSL filters, unlock full firm detail by apex domain, and organise results into private lists with custom columns.

## Scope

Does not handle contact-level people search, email sending, or CRM pipeline tracking. Use for searching and listing US professional-services firms only.

## Capabilities

- Search a ServiceGraph dataset for professional-services firms and get brief rows with per-row unlock state
- Translate a plain-English intent into a dataset DSL filter with POST `/v1/datasets/{id}/translate-intent`
- Validate a DSL filter string against a dataset before searching via GET `/v1/datasets/{id}/check`
- Unlock detail data for one or more firms by passing their apexes, charged atomically against your credits
- Build private firm lists scoped to one dataset, bulk-add firms by apex, and add typed custom columns
- Check your credit balance and paginated spend history before running unlocks
- Create a directory-submission project from a product URL and submit it to every directory in a saved list

## Use cases

### Agent-driven firm prospecting through Jentic

An AI agent connected through Jentic turns a prospecting brief into a ServiceGraph search. It sends the brief to the translate-intent operation to get a DSL filter, runs the dataset search to get brief firm rows, and unlocks detail only for the firms worth pursuing. Because unlocks spend credits, the agent reads the balance from the credits endpoint first and stops when the budget is used.

Example prompt: Call POST `/v1/datasets/{id}/translate-intent` with intent 'CPA firms in Ohio', pass the returned filter to GET `/v1/datasets/{id}/search`, then POST `/v1/datasets/{id}/unlocks` with the apexes of the top three rows

### Building a target account list

Sales and partnerships teams keep shortlists of firms inside ServiceGraph lists. A list is scoped to a single dataset, firms are bulk-added by apex domain, and user-defined typed columns hold notes such as outreach status. The memberships lookup shows which of your lists already contain a given firm, so the same firm is not added twice.

Example prompt: Create a list with POST `/v1/lists`/ using name 'Q3 targets' and dataset_id from GET `/v1/datasets`, add a column with key 'status', label 'Status', and type from the column schema, then POST `/v1/lists/{id}/items` with three apexes

### Filter authoring and validation

ServiceGraph datasets are queried with a DSL filter language. The fields endpoint lists each filterable field with its kind and operators, the values endpoint enumerates the distinct values for one field, and the check endpoint validates a filter string and returns a normalised form. Together they let a developer or agent build a correct filter without guessing field names.

Example prompt: Call GET `/v1/datasets/{id}/fields` to list filter fields, GET `/v1/datasets/{id}/values/{field}` for a chosen field, then GET `/v1/datasets/{id}/check` with the assembled filter

### Directory submission for a product launch

ServiceGraph projects take a product URL, extract brand assets such as name, tagline, description, and logo, and build a submission bundle with titles, descriptions, features, pricing, and categories. You can edit the brand fields or the asset bundle, then submit the project to every directory in a saved list and follow each run's per-status task counts.

Example prompt: Create a project with POST `/v1/projects`/ and url 'https://example.com', then POST `/v1/projects/{id}/submit` with list_id, and poll GET `/v1/projects/{id}/runs/{runId}` for task status

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/v1/datasets` | List available datasets |
| GET | `/v1/datasets/{id}/search` | Search one dataset for firms |
| POST | `/v1/datasets/{id}/translate-intent` | Turn a plain-English intent into a DSL filter |
| GET | `/v1/datasets/{id}/{apex}` | Fetch one firm row by apex |
| POST | `/v1/datasets/{id}/unlocks` | Unlock detail data for firms |
| POST | `/v1/lists/` | Create a private firm list |
| POST | `/v1/lists/{id}/items` | Bulk-add firms to a list by apex |
| GET | `/v1/me/credits` | Read the current credit balance |

## Key resources

- **Datasets** — Catalogs of US professional-services firms with filter field metadata, search, row lookup by apex, and credit-based unlocks
- **Lists** — Private firm lists scoped to one dataset, with items added by apex and user-defined typed columns
- **Credits** — Current credit balance and paginated spend history for the authenticated user
- **Projects** — Directory-submission projects built from a product URL, with editable assets and tracked submission runs

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 22 / 100
- **Maturity:** Non-Ready
- **Dimensions:**
  - Foundational Compliance: 53 / 100
  - Developer Experience & Jentic Compatibility: 56 / 100
  - AI-Readiness & Agent Experience: 7 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 60 / 100
- **View full report:** https://jentic.com/apis/servicegraph.co/servicegraph/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring ServiceGraph by hand means running its OAuth 2.1 flow to get a bearer token, learning its filter DSL, and tracking which rows you have already paid to unlock. Through Jentic you install once, import ServiceGraph from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** ServiceGraph puts the dataset id in the URL path (`/v1/datasets/{id}/...`), so a rule can pin your agent to one dataset and the operations you pick. You choose the operations it may call, so credit-spending or destructive ones like unlocks or list deletion are not included unless you add them.
- **Credential handling:** Your ServiceGraph token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'find accounting firms in a dataset' or 'unlock firm detail', and Jentic returns the matching ServiceGraph operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Crunchbase API** — Company and funding data across startups and private companies
- **Apollo API** — Contact search and enrichment for people at target companies
- **Clearbit API** — Firmographic enrichment of a company by domain

## FAQ

### What authentication does the ServiceGraph API use?

The ServiceGraph API declares HTTP bearer authentication per its OpenAPI spec, and the bearer token is applied to the dataset, list, credit, and project operations. The OAuth discovery, client registration, authorize, token, and revoke endpoints are declared without a security requirement because they are how a client obtains a token. Through Jentic, your token is stored encrypted by your own Jentic One instance and injected at call time.

### Can I turn a plain-English request into a ServiceGraph search filter?

Yes. POST `/v1/datasets/{id}/translate-intent` takes a required intent string and returns a DSL filter for that dataset. You can confirm the result with GET `/v1/datasets/{id}/check`, which takes the filter as a required query parameter, and then pass it to GET `/v1/datasets/{id}/search.`

### What are the rate limits for the ServiceGraph API?

The OpenAPI spec does not specify numeric rate limits. It describes anonymous search as IP-rate-limited and notes that authenticated callers who exhaust their quota fall back to the anonymous response shape. Check https://servicegraph.co for current plan limits.

### Is there a ServiceGraph MCP server?

You don't need an MCP server to give your agent ServiceGraph. Jentic connects it directly from the API Directory: import it, store your token once, and your agent calls the operations it needs, discovered on demand rather than loaded into its context as a block of tool definitions.

### How do I unlock full firm detail through Jentic?

Search Jentic for 'unlock firm detail in ServiceGraph', load the POST `/v1/datasets/{id}/unlocks` operation, and execute it with the dataset id and an apexes array. The unlock is atomic, so either every uncached row is unlocked or none are. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the ServiceGraph API?

Yes. For example, write a rule that allows only the dataset search, row lookup, and filter-check operations under one dataset id, so the agent can research firms in that dataset but cannot spend credits on unlocks, delete lists, or submit projects. Every call it makes is logged for review.
