Quickstart for AI Agents
Bullseye identifies the individual U.S. people and companies behind anonymous website traffic. Agents reach it three ways:
| You are… | Use | Credential |
|---|---|---|
| A hosted assistant (ChatGPT, claude.ai) | MCP server https://api.app.bullseye.so/mcp | OAuth consent by the human |
| A local or coding agent reading data | REST API https://api.app.bullseye.so/api/v1 | X-API-Key organization API key |
| Editing a website’s code | Tracking pixel | Pixel key in the snippet |
The full operating guide for agents (errors, spending rules, limits) is at www.bullseye.so/skill.md. The OpenAPI spec is at docs.bullseye.so/openapi.json.
1. Get a credential
Already have a key? Read it from the environment. Never print it or commit it.
export BULLSEYE_API_KEY=bsk_live_...
export BULLSEYE_ORG_ID=... # first path segment of any dashboard URL: app.bullseye.so/<organization_id>/...Keys are created in Settings > API Keys (API Keys). Scopes are read, write and admin; ask for read unless the task writes.
No key yet? Use device login. The agent starts the flow, shows the human a short code, and polls until they approve. Approval mints a read-scoped key for the organization the human picks.
curl -s -X POST https://api.app.bullseye.so/oauth/device_authorization \
-d client_id=my-agent -d scope=read{
"device_code": "…",
"user_code": "WDJB-MJHT",
"verification_uri": "https://app.bullseye.so/device",
"verification_uri_complete": "https://app.bullseye.so/device?user_code=WDJB-MJHT",
"expires_in": 600,
"interval": 5
}Tell the human to open verification_uri_complete (or verification_uri and type the user_code), then poll every interval seconds:
curl -s -X POST https://api.app.bullseye.so/oauth/token \
-d grant_type=urn:ietf:params:oauth:grant-type:device_code \
-d device_code=$DEVICE_CODE -d client_id=my-agentResponse error | Do this |
|---|---|
authorization_pending | Keep polling at interval. |
slow_down | Add 5 seconds to the interval. |
access_denied | Stop; the human declined. |
expired_token | Start over. |
On approval the response is {"access_token": "bsk_live_…", "token_type": "api_key", "organization_id": "…", "scope": "read"}. Send access_token as X-API-Key.
2. First REST call
List this week’s identified visitors:
curl -s "https://api.app.bullseye.so/api/v1/companies/visitors?organizationId=$BULLSEYE_ORG_ID&from=2026-11-12&to=2026-11-18&page=1&limit=20" \
-H "X-API-Key: $BULLSEYE_API_KEY"ICP-matched companies:
curl -s "https://api.app.bullseye.so/api/v1/companies?organizationId=$BULLSEYE_ORG_ID&ICPOnly=true&page=1&limit=20" \
-H "X-API-Key: $BULLSEYE_API_KEY"Rate limit is 1,000 requests per minute per key. On 429, wait for Retry-After seconds. Errors return code, message and docs_url; read code, not the HTTP status alone. See Authentication for the error list.
3. Connect the MCP server
Remote Streamable HTTP server with OAuth 2.1 (PKCE, dynamic client registration). Read-only; requires a paid plan.
- ChatGPT: Apps > search Bullseye > Connect. See ChatGPT App.
- claude.ai: Settings > Connectors > Add custom connector, URL
https://api.app.bullseye.so/mcp. - Claude Code:
claude mcp add --transport http bullseye https://api.app.bullseye.so/mcpTools: search_visitors, get_visitor, search_companies, get_company_visitors, get_traffic_summary, get_visitor_trend, list_saved_lists, list_icp_configs.
4. Install the pixel
One async script tag in the site head. The pixel key is in the snippet in Settings > Tracking.
<script async defer src="https://api.app.bullseye.so/api/v1/visitor-tracking/script/YOUR_PIXEL_API_KEY"></script>Platform recipes (Next.js, React, WordPress, Webflow, Shopify, GTM): www.bullseye.so/developers/install. Then verify the installation.
Install the skill
npx skills add BullseyeSo/skillsIn Claude Code: /plugin marketplace add BullseyeSo/skills.