×
UNLOBBIED / DEVELOPERS / V1
PUBLIC DEVELOPER DOCUMENTATION

Build on Unlobbied

Connect sourced government intelligence to your applications, workflows and AI agents through the Unlobbied API and MCP server.

Get started ↗Explore agent access →

Documentation is public.
Data access requires a paid account.

01 / OVERVIEW

Two interfaces. One intelligence platform.

Use the REST API for structured data retrieval or the MCP server for compatible AI agents. Both use the same subscription, permissions and indexed government datasets.

REST API

Retrieve government actions, legislation, organizations and source-linked intelligence.

HTTPS · JSON · READ-ONLY

MCP server

Give compatible AI clients six specialized tools to research Unlobbied's indexed data.

REMOTE MCP · STREAMABLE HTTP
02 / QUICKSTART

Make your first request.

Read these docs without signing in. To retrieve intelligence, you need an active subscription and appropriate data access.

01

Get access

Choose a plan and sign in to your account.

02

Generate an API key

In the new workspace, open Settings & Team → API & Agents. Copy your key when created. It is displayed only once.

03

Connect

Pass the key in a request header for the REST API, or configure a compatible remote MCP client. Never include API keys in public client-side code.

03 / AUTHENTICATION

Secure by default.

Use a generated ul_live_… API key with Authorization: Bearer or the x-unlobbied-api-key header. Key access follows the owner's active plan and state grants.

REST API BASE URLhttps://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-api/v1
EXAMPLE · CURL
curl "https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-api/v1/me" \
  -H "Authorization: Bearer YOUR_UNLOBBIED_API_KEY"
Managing keys: The /v1/keys create, list and revoke endpoints require the signed-in account's session JWT. An existing API key cannot issue new API keys.
04 / REST API

Available endpoints.

All paths are relative to the base URL. Data retrieval is read-only. Key administration requires your account session JWT.

METHODPATHDESCRIPTION
GET/v1/meEntitlements and limits
GET/v1/coverageData scope and known gaps
GET/v1/actionsSearch legislation, regulation and land use
GET/v1/actions/{source}/{id}Retrieve a source record
GET/v1/legislationSearch legislation
GET/v1/organizationsSearch organizations and lobbying status
GET/v1/impactsPreviously generated policy impacts
GET/v1/agenciesAgencies from indexed notices
GET/v1/keysList keys (account JWT only)
POST/v1/keysCreate key (account JWT only)
DELETE/v1/keys/{id}Revoke key (account JWT only)
05 / FILTERS

Query parameters.

PARAMETERBEHAVIOR
stateNY only, currently.
sourceFor actions: all, legislation, regulation or land_use.
qCase-insensitive title/name keyword search, up to 80 characters; not semantic search.
daysLookback between 1 and 3650 days; default 30, based on record-specific date field.
limit1–50, default 20 for REST collections. No pagination cursor in v1.
06 / EXAMPLE

Search government actions.

Find recent legislation with “housing” in its title:

CURL EXAMPLE
curl --get "https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-api/v1/actions" \
  -H "Authorization: Bearer YOUR_UNLOBBIED_API_KEY" \
  --data-urlencode "state=NY" \
  --data-urlencode "source=legislation" \
  --data-urlencode "q=housing" \
  --data-urlencode "days=30" \
  --data-urlencode "limit=10"

Collections contain count and results. Records include relevant dates and original source_url fields when available. Search results are indexed source records, not exhaustive government coverage.

07 / LIMITS

Errors and quotas.

120metered requests / user / rolling hour
5active integration keys per user
STATUSMEANING
400Invalid request or filter.
401Missing, invalid or revoked credential.
403Subscription, state or account permission missing.
404Record or route not found.
422State unavailable in the API.
429User-level hourly quota exceeded.
500Unexpected backend error.

API data requests and MCP tool calls share the quota. Account checks and key-management operations do not currently count against it.

08 / MODEL CONTEXT PROTOCOL

Give AI agents a research interface.

Connect compatible remote MCP clients over Streamable HTTP. Unlobbied agents use the same paid state entitlements and limits as the REST API.

MCP SERVER URLhttps://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-mcp
ILLUSTRATIVE MCP CLIENT CONFIG
{
  "mcpServers": {
    "unlobbied": {
      "type": "http",
      "url": "https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-mcp",
      "headers": {
        "Authorization": "Bearer YOUR_UNLOBBIED_API_KEY"
      }
    }
  }
}

This example applies to clients supporting custom HTTP authorization headers. Client configuration formats differ.

OAuth and ChatGPT: OAuth discovery and the one-click ChatGPT app connection flow are not configured on this server yet. OAuth-only MCP clients cannot connect to the current key-authenticated endpoint.
09 / MCP TOOLS

Six read-only agent tools.

Agents can retrieve existing government records, organization profiles and prior policy-impact assessments.

search_government_actionsq?, source?, days?, limit?

Search indexed legislative, regulatory and land-use actions.

get_government_actionsource, id

Retrieve a specific source record and its official URL.

search_legislationq?, days?, limit?

Search available bill titles and recent legislative actions.

research_organizationq, limit?

Find indexed organizations and available lobbying-status evidence.

analyze_policy_impactq?, limit?

Retrieve previously generated policy impact assessments.

get_data_coveragenone

Check data availability, jurisdictions and known gaps.

These tools do not create new AI analyses, modify records or contact organizations.

10 / COVERAGE

Source-linked, not exhaustive.

The API exposes indexed legislation, regulatory notices, land-use projects, organization intelligence and previously evaluated policy impacts within supported coverage. See Pricing for current availability.

Important: Coverage does not include every government action by every state, county, city or local agency. Unvalidated internal county-agenda records are not available through the API.

Missing lobbying records do not prove an organization is unrepresented. AI impact assessments may be incomplete. Verify consequential results, statuses and dates using original government source URLs. Consult /v1/coverage or get_data_coverage for known limitations.

BUILD ON UNLOBBIED

Your next workflow starts with better intelligence.

Bring sourced government intelligence to the software and agents you already use.

Explore plans ↗