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.
Make your first request.
Read these docs without signing in. To retrieve intelligence, you need an active subscription and appropriate data access.
Get access
Choose a plan and sign in to your account.
Generate an API key
In the new workspace, open Settings & Team → API & Agents. Copy your key when created. It is displayed only once.
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.
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.
https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-api/v1curl "https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-api/v1/me" \
-H "Authorization: Bearer YOUR_UNLOBBIED_API_KEY"/v1/keys create, list and revoke endpoints require the signed-in account's session JWT. An existing API key cannot issue new API keys.Available endpoints.
All paths are relative to the base URL. Data retrieval is read-only. Key administration requires your account session JWT.
| METHOD | PATH | DESCRIPTION |
|---|---|---|
| GET | /v1/me | Entitlements and limits |
| GET | /v1/coverage | Data scope and known gaps |
| GET | /v1/actions | Search legislation, regulation and land use |
| GET | /v1/actions/{source}/{id} | Retrieve a source record |
| GET | /v1/legislation | Search legislation |
| GET | /v1/organizations | Search organizations and lobbying status |
| GET | /v1/impacts | Previously generated policy impacts |
| GET | /v1/agencies | Agencies from indexed notices |
| GET | /v1/keys | List keys (account JWT only) |
| POST | /v1/keys | Create key (account JWT only) |
| DELETE | /v1/keys/{id} | Revoke key (account JWT only) |
Query parameters.
| PARAMETER | BEHAVIOR |
|---|---|
state | NY only, currently. |
source | For actions: all, legislation, regulation or land_use. |
q | Case-insensitive title/name keyword search, up to 80 characters; not semantic search. |
days | Lookback between 1 and 3650 days; default 30, based on record-specific date field. |
limit | 1–50, default 20 for REST collections. No pagination cursor in v1. |
Search government actions.
Find recent legislation with “housing” in its title:
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.
Errors and quotas.
| STATUS | MEANING |
|---|---|
400 | Invalid request or filter. |
401 | Missing, invalid or revoked credential. |
403 | Subscription, state or account permission missing. |
404 | Record or route not found. |
422 | State unavailable in the API. |
429 | User-level hourly quota exceeded. |
500 | Unexpected backend error. |
API data requests and MCP tool calls share the quota. Account checks and key-management operations do not currently count against it.
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.
https://btwegieqqcfdmuevbrlt.supabase.co/functions/v1/unlobbied-mcp{
"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.
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, idRetrieve 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_coveragenoneCheck data availability, jurisdictions and known gaps.
These tools do not create new AI analyses, modify records or contact organizations.
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.
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.
Your next workflow starts with better intelligence.
Bring sourced government intelligence to the software and agents you already use.
Explore plans ↗