API and MCP
Use the same data from your own tools: REST API, an MCP server for AI agents (Claude, ChatGPT, Cursor and others), and bulk feeds for your warehouse. Your API key is the one you signed in with.
MCP server
Connect any MCP client; tools: search_employers, get_employer, stats, list_changes, sql, methodology
Claude Code:
shell
claude mcp add --transport http afp https://api.afp.trysynthiolabs.com/mcp --header "Authorization: Bearer $AFP_API_KEY"Claude Desktop, Cursor and other clients (JSON config):
json
{
"mcpServers": {
"afp": {
"type": "http",
"url": "https://api.afp.trysynthiolabs.com/mcp",
"headers": {
"Authorization": "Bearer ${AFP_API_KEY}"
}
}
}
}REST API
Bearer-token JSON API; the web app uses the same endpoints
shell
export AFP_API_KEY=afp_... # your key
curl -H "Authorization: Bearer $AFP_API_KEY" "https://api.afp.trysynthiolabs.com/afp/stats"
curl -H "Authorization: Bearer $AFP_API_KEY" "https://api.afp.trysynthiolabs.com/afp/employers?tag=afp&tier=A&state=UT"
curl -H "Authorization: Bearer $AFP_API_KEY" "https://api.afp.trysynthiolabs.com/afp/employers/waukesha-county--wi"
curl -H "Authorization: Bearer $AFP_API_KEY" "https://api.afp.trysynthiolabs.com/afp/changes?since=2026-11-01"
curl -H "Authorization: Bearer $AFP_API_KEY" -o afp.csv "https://api.afp.trysynthiolabs.com/afp/export.csv?tag=afp"
curl -H "Authorization: Bearer $AFP_API_KEY" -H "content-type: application/json" \
-d '{"sql": "SELECT vendor, employers FROM v_vendors ORDER BY employers DESC"}' "https://api.afp.trysynthiolabs.com/afp/sql"SQL views available to you
Bulk data feed
Versioned Parquet snapshot of every customer view, for Snowflake, Databricks or S3
Bulk feeds are part of the Enterprise plan. Contact Synthio Labs to upgrade.