Integra la conversione file nella tua app
Usa la REST API FileConvertFree in applicazioni, automazioni e sistemi aziendali.
Avvio rapido
Piani e limiti API
Limits are account-wide across all of your API keys. Creating more keys does not create more quota.
Premium
200 / day- 200 Daily requests
- 30 Requests / minute
- 200 MB Maximum file size
- 3 Active keys max
Pro
400 / day- 400 Daily requests
- 60 Requests / minute
- 200 MB Maximum file size
- 3 Active keys max
Gestione chiavi API
1. Create a key
Go to your Dashboard and use the Developer API section. You may keep up to 3 active API keys. Give each key a useful name such as Production, Office App or Staging.
2. Save it once
The complete secret is displayed only after creation or regeneration. FileConvertFree stores a secure hash, not the plaintext secret, so the full key cannot be displayed later.
3. Regenerate a key
Regeneration creates a new secret and immediately revokes the old key. Update your application with the new key before closing the one-time secret dialog.
4. Revoke a key
Revoke a key if it is no longer needed or may have been exposed. It stops authenticating immediately. A revoked key record is automatically deleted after 7 days.
Sicurezza della chiave
Never share an API key, publish it in GitHub, put it in browser-side JavaScript, send it in screenshots, or store it in public code. Keep it in server environment variables or a secrets manager. If a key may be compromised, regenerate or revoke it immediately.
Endpoint disponibili
| Method | Endpoint | Purpose / options |
|---|---|---|
| GET | /v1/account/usage | Read authenticated plan, key status, daily usage, remaining quota and rate-limit usage. |
| GET | /health | Public health check for API status and version. |
| POST | /v1/pdf/to-word | Convert a valid PDF file to Word. |
| POST | /v1/pdf/to-excel | Convert a valid PDF file to Excel. |
| POST | /v1/image/to-text | Extract OCR text from an image. Optional multipart field: fast=true|false. |
| POST | /v1/image/to-word | Convert an image to Word. Optional multipart field: fast=true|false. |
| POST | /v1/image/to-excel | Convert an image to Excel. Optional multipart field: fast=true|false. |
| POST | /v1/image/remove-background | Remove an image background. Optional fields: format (default png), transparent=true|false, fast_mode=true|false. |
Esempi di codice
File supportati e convalida
PDF endpoints accept real PDF files. Image endpoints accept JPEG/JPG/JFIF, PNG, WebP, GIF, BMP and TIFF/TIF. The API checks both the filename extension and the real file signature, so simply renaming an unsupported file does not bypass validation.
Risposte API
File-conversion endpoints return the converted file body directly to your client. Image-to-text returns JSON. Internal converter download URLs are not exposed to API customers.
Errori HTTP
| Status | Meaning | Typical reason / action |
|---|---|---|
| 401 | Missing, invalid, expired or revoked API key. | Check X-API-Key. If the key was revoked/regenerated, replace it with the current secret. |
| 403 | API access is not enabled. | Your account does not currently have an active Premium or Pro entitlement. |
| 409 | Key action conflicts with its current state. | Examples: trying to create more than 3 active keys or regenerate a key that is not active. |
| 413 | Uploaded file is too large. | Use a file within your API plan limit (currently 200 MB). |
| 415 | Unsupported or mismatched media type. | Use a supported PDF/image and keep the correct extension; the API also validates file signatures. |
| 422 | Invalid request content. | The upload may be empty or required multipart data may be missing/invalid. |
| 429 | Too many requests. | You reached the per-minute rate limit or the account-wide daily quota. Retry later or wait for the daily reset. |
| 5xx | Temporary API or conversion-service failure. | Retry with backoff. Infrastructure/backend failures are not charged against daily quota. |
Come viene conteggiata la quota
Daily quota and per-minute rate limits are shared across every key on the same API account. Invalid or unsupported uploads rejected before conversion do not consume daily quota. Server/infrastructure failures are refunded from daily quota. Requests accepted for conversion may count even if the downstream converter later returns a client-side 4xx error. Daily quota resets according to the API server/database calendar day.
Usage check: GET https://fileconvertfree.com/api1/v1/account/usage
Domande frequenti
Can a Free account call the API?
No. The documentation is visible to everyone, but API access currently requires an active Premium or Pro website plan.
Does creating 3 keys triple my quota?
No. Keys share the same account-wide daily and per-minute limits.
Can I recover a lost secret?
No. The plaintext key is not stored. Regenerate the key and save the new secret.
What happens when my paid plan expires?
API access is disabled when the website account no longer has an active eligible plan. Renew Premium or Pro to restore eligible API access.
Integra FileConvertFree
Create your key from the dashboard, test it with the usage endpoint, then connect the conversion route your application needs.