Connectors
Public API
Endpoints
Read-only, token-authenticated (tok_…), subscription-gated. Base URL: $SUPABASE_URL/functions/v1/public-api.
1BASE="$SUPABASE_URL/functions/v1/public-api"
2AUTH="Authorization: Bearer tok_…"
3
4curl -H "$AUTH" "$BASE/connectors/companies?q=Cabinet%20Namysl&limit=3"
5curl -H "$AUTH" "$BASE/connectors/address?q=8%20bd%20du%20port"
6curl -H "$AUTH" "$BASE/connectors/communes?nom=Lyon"
7curl -H "$AUTH" "$BASE/connectors/bodacc?siren=922231642"Response shape
Responses are normalized (never the raw upstream), for a stable contract:
1{
2 "total": 11,
3 "results": [
4 {
5 "siren": "922231642",
6 "nom": "CABINET NAMYSL",
7 "naf": "69.20Z",
8 "siege": { "code_postal": "…", "commune": "…" },
9 "dirigeants": ["…"]
10 }
11 ]
12}Get an API token from your account (the
tok_ tokens documented in AI connectors).