Fiche complète d'une société française identifiée par son SIREN
POST /v1/rpc/tools/get_company
curl -X POST "https://api.insourcia.io/v1/rpc/tools/get_company" \ -H "Authorization: Bearer isk_VOTRE_CLE" \ -H "Content-Type: application/json" \ -d '{}'import requests
r = requests.post( "https://api.insourcia.io/v1/rpc/tools/get_company", headers={"Authorization": "Bearer isk_VOTRE_CLE"}, json={},)print(r.json())const r = await fetch("https://api.insourcia.io/v1/rpc/tools/get_company", { method: "POST", headers: { Authorization: "Bearer isk_VOTRE_CLE", "Content-Type": "application/json", }, body: JSON.stringify({}),});console.log(await r.json());Fiche complète d’une société française identifiée par son SIREN. Le paramètre sirens sert jusqu’à 10 fiches en une requête. Coût en crédits : 1 par société servie, presse incluse ; score et estimation 5 chacun (abonnements) ; société relue sous 30 jours : 0 crédit ; un lot coûte comme N appels.
Autorisations
Section intitulée « Autorisations »Corps de la requête required
Section intitulée « Corps de la requête required »object
SIREN a 9 chiffres
Plusieurs SIREN en un appel (10 max) au lieu d’un appel par société. Exclusif avec siren. Même coût qu’à l’unité : un lot de N est facturé comme N sociétés servies, seul le nombre de requêtes change.
Champs root/financiers supplémentaires à injecter dans la fiche (parité avec search_companies). Exemple : [‘nb_dirigeants’,‘source_esef’,‘dernier_depot_date’]. 5 champs au plus, tous plans. Un nom inconnu renvoie 400 en listant les noms non reconnus.
En crédits : true ajoute l’estimation CA/EBE (abonnements, 5).
Réponses
Section intitulée « Réponses »Successful tool invocation
object
Tool-specific response payload.
Invalid input (Zod validation failure)
object
Validation issues (only present on 400 from Zod schema parse).
object
Missing or invalid API key
Balance below the call’s maximum cost (insufficient_credits) or the organisation’s spend cap reached (spend_cap_reached). Nothing is debited.
Refused for this account. Nothing is debited.
Unknown tool name or resource not found
Internal error