Aller au contenu

Fiche complète d'une société française identifiée par son SIREN

POST
/v1/rpc/tools/get_company
Fenêtre de terminal
curl -X POST "https://api.insourcia.io/v1/rpc/tools/get_company" \
-H "Authorization: Bearer isk_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{}'

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.

object
siren

SIREN a 9 chiffres

string
sirens

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.

Array<string>
>= 1 items <= 10 items
include_fields

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.

Array<string>
inclure_estimation

En crédits : true ajoute l’estimation CA/EBE (abonnements, 5).

boolean

Successful tool invocation

object
success
obligatoire
boolean
data
obligatoire

Tool-specific response payload.

Invalid input (Zod validation failure)

object
success
obligatoire
boolean
error
obligatoire
string
details

Validation issues (only present on 400 from Zod schema parse).

Array<object>
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