# Nanonets Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
Document processing and OCR platform for extracting data from documents and images
**Categories:**
- {'id': 'document-processing', 'name': 'Document Processing AI'}
## Base Endpoint
https://api.lowcodeapi.com/nanonets
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** TOKEN
**Official Documentation:** https://nanonets.com/documentation
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Get Full Text
**Method:** GET
**LowCodeAPI Path:** /api/v2/OCR/FullText
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/OCR/FullText?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ocr/fulltext?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| file | file | |
| urls | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/nanonets/api/v2/OCR/FullText?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#tag/Get-Full-Text
### Get Model by Id
**Method:** GET
**LowCodeAPI Path:** /api/v2/ImageCategorization/Model
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Model?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/model?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Model?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationModelGet
### Create New Model
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/Model
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Model?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/model?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| categories | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Model?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationModelPost
### Get All Models
**Method:** GET
**LowCodeAPI Path:** /api/v2/ImageCategorization/Models
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Models?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/models?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Models?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationModelsGet
### Prediction for image URLs
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/LabelUrls
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/LabelUrls?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/labelurls?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| modelId | string | |
| url | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/LabelUrls?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationLabelUrlsPost2
### Train Model
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/Train
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Train?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/train?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| modelId | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/Train?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationTrainPost
### Upload training images by File
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/UploadFile
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/UploadFile?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/uploadfile?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| categories | string | |
| file | file | |
| modelId | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/UploadFile?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationUploadFilePost
### Prediction for image File
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/LabelFile
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/LabelFile?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/labelfile?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| file | file | |
| modelId | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/LabelFile?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationLabelFilePost
### Upload training images by Url
**Method:** POST
**LowCodeAPI Path:** /api/v2/ImageCategorization/UploadUrls
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/UploadUrls?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/imagecategorization/uploadurls?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| categories | string | |
| modelId | string | |
| url | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/ImageCategorization/UploadUrls?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/ImageCategorizationUploadUrlsPost
### Create New Model
**Method:** POST
**LowCodeAPI Path:** /api/v2/OCR/Model
**New Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/OCR/Model?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/nanonets/api/v2/ocr/model?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| categories | array | |
| model_type | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/nanonets/api/v2/OCR/Model?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://nanonets.com/documentation/#operation/OCRModelPost
## Usage Examples
### Example 1: Basic API Request (New Format)
Making a simple GET request to retrieve resources:
```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/nanonets/endpoint?api_token=YOUR_API_TOKEN"
```
### Example 2: Request with Path Parameters (New Format)
Retrieving a specific resource using its ID:
```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/nanonets/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```
### Example 3: POST Request with Body (New Format)
Creating a new resource:
```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/nanonets/endpoint?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"field": "value", "another_field": "another_value"}'
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Get Full Text | GET | Get Full Text |
| Get Model by Id | GET | Image Classification Model |
| Create New Model | POST | Image Classification Model |
| Get All Models | GET | Image Classification Model |
| Prediction for image URLs | POST | Image Classification Model Predict |
| Train Model | POST | Image Classification Model Train |
| Upload training images by File | POST | Image Classification Model Upload |
| Prediction for image File | POST | Image Classification Model Predict |
| Upload training images by Url | POST | Image Classification Model Upload |
| Create New Model | POST | OCR Model |
| Get Model by Id | GET | OCR Model |
| Async Prediction for image url | POST | OCR Predict |
| Get Prediction File By Page ID | GET | OCR Predict |
| Get Prediction File By File ID | GET | OCR Predict |
| Async Prediction for image file | POST | OCR Predict |
| Get All Prediction Files | GET | OCR Predict |
| Train Model | POST | OCR Train |
| Upload Training Images by Urls | POST | OCR Upload |
| Upload Training Images by File | POST | OCR Upload |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/nanonets/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/nanonets/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```