Documentazione API
Accedi a tutti gli strumenti Xuvero in modo programmatico. L'accesso API richiede un piano Business.
Autenticazione
Includi la tua chiave API nell'header Authorization:
Authorization: Bearer YOUR_API_KEY
URL base
https://xuvero.com/api/v1
Endpoint
GET
/api/v1/tools
Elenco di tutti gli strumenti
Restituisce tutti gli strumenti attivi con metadati.
{
"tools": [
{
"slug": "word-counter",
"name": "Word Counter",
"description": "Count words, characters, and more.",
"category": "text",
"type": "text",
"is_pro_only": false
}
],
"count": 32
}
GET
/api/v1/tools/{slug}
Dettagli e campi dello strumento
{
"slug": "word-counter",
"name": "Word Counter",
"type": "text",
"fields": [
{ "name": "text", "type": "textarea", "label": "Your Text", "required": true }
],
"max_file_mb": 5
}
POST
/api/v1/tools/{slug}/process
Elabora uno strumento
Invia gli input dello strumento come corpo JSON. Restituisce il risultato.
Richiesta
POST /api/v1/tools/word-counter/process
Content-Type: application/json
Authorization: Bearer YOUR_KEY
{
"text": "Hello world, this is a test."
}
Risposta
{
"success": true,
"result": {
"words": 6,
"characters": 28,
"sentences": 1
},
"processing_time_ms": 12
}
GET
/api/v1/account
Il tuo account e utilizzo
{
"name": "John Doe",
"email": "[email protected]",
"plan": "business",
"api_calls_today": 142,
"api_calls_limit": 10000
}
Limiti di frequenza
| Piano | Chiamate API / giorno |
|---|---|
| Free | Non disponibile |
| Pro | Non disponibile |
| Business | 10.000 / giorno |