Aller au contenu

Score de risque crédit d'une société française (par SIREN)

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

Score de risque crédit d’une société française (par SIREN).

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
factors_limit

Nombre de facteurs détaillés (défaut 5, max 10)

integer
>= 1 <= 10

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.

Subscribers only (subscription_required). Nothing is debited.

Unknown tool name or resource not found

Internal error