
microearn
io.github.airanrossicoach-del/microearn
Seven pay-per-use MicroEarn APIs for PDF, data, image, audio, video and Base64, hosted by Apify.
Documentation
MicroEarn API Toolkit
Pay-per-use APIs for developers, AI agents and automated workflows.
MicroEarn provides lightweight cloud-based tools for document extraction, data cleaning, image processing, audio conversion, audio transcription, video conversion and Base64 encoding and decoding.
No external AI API required.
Quick Access
Available APIs
| API | Features | Pricing |
|---|---|---|
| PDF Text & Table Extractor | Text, tables, links and metadata extraction | $0.30 / 1,000 pages |
| CSV & JSON Data Cleaner | Deduplication, normalization and conversion | $0.10 / 1,000 rows |
| Image Converter & Compressor | JPEG, PNG and WebP processing | $0.80 / 1,000 images |
| Audio Converter | MP3, WAV, FLAC and OGG Opus conversion | $1.50 / 1,000 started minutes |
| Audio Transcription | Multilingual speech-to-text with timestamps | $5 / 1,000 started minutes |
| Video Converter | Video conversion, compression and audio extraction | $10 / 1,000 started minutes |
| Base64 Converter | Base64 encoding, decoding and SHA-256 | $1.00 / 1,000 files |
Startup fee per run: $0.0005 for PDF, Data Cleaner, Image, Audio Converter and Base64; $0.001 for Audio Transcription and Video Converter, at standard memory. Check individual Actor pricing pages for current rates.
Features
- Pay-per-use pricing
- Structured JSON output
- Budget-aware processing
- REST API access
- Cloud-based execution
- No external AI dependencies
- AI agent and workflow integration
- Seven tested n8n workflow templates
- Public Postman collection with 21 API requests
- Secure credential configuration
- Tested API integrations
Postman Collection
Explore all seven MicroEarn APIs using our public Postman collection, with 21 API requests across seven integrations.
Open MicroEarn API Toolkit in Postman
The collection is publicly accessible and can be viewed without signing in.
It includes four API folders, each containing three requests:
- Start processing
- Check run status
- Retrieve OUTPUT
Postman setup
- Open the public collection.
- Sign in to your Postman account.
- Import or fork the collection into your own workspace.
- Create an Apify API token with the required permissions.
- Store your token securely in Postman Local Vault.
- Configure a local environment variable named
apify_tokenwith the value{{vault:apify_token}}. - Restrict the Vault secret to
https://api.apify.com. - Select your local testing environment.
- Execute the requests manually in the correct order.
Never publish or share your personal API token.
The public collection does not require the publisher's credentials. Each user must configure their own Apify credentials.
Verified Postman integration tests
The first four APIs were successfully executed through Postman on December 3, 2026. The three additional integrations were published on December 4, 2026; functional Postman testing remains pending.
| API | Test | Result |
|---|---|---|
| PDF Extractor | Extract text from a one-page PDF | Passed |
| Data Cleaner | Clean four CSV rows and return JSON | Passed |
| Image Converter | Convert and resize an image to WebP | Passed |
| Audio Converter | Convert WAV audio to MP3 | Passed |
Postman test results
| Metric | Result |
|---|---|
| PDF pages processed | 1 |
| PDF pages charged | 1 |
| Data input rows | 4 |
| Data output rows | 2 |
| Duplicate rows removed | 1 |
| Empty rows removed | 1 |
| Image output format | WebP |
| Image output dimensions | 50 x 25 pixels |
| Image input size | 189 bytes |
| Image output size | 82 bytes |
| Audio output format | MP3 |
| Audio sample rate | 44,100 Hz |
| Audio channels | Stereo |
| Audio minutes charged | 1 |
These results are based on synthetic sample inputs and demonstrate successful API execution, not guaranteed performance or compression ratios for all files.
The collection is free. Apify API usage may incur charges.
Ready-to-use n8n Workflows
All seven workflows passed sample execution tests on a self-hosted n8n instance between December 2 and 4, 2026.
The templates are free to download. Apify API usage may incur charges.
| Workflow | Download | Test status |
|---|---|---|
| CSV & JSON Data Cleaner | Download JSON | Passed |
| PDF Text & Table Extractor | Download JSON | Passed |
| Image Converter & Compressor | Download JSON | Passed |
| Audio Converter | Download JSON | Passed |
| Audio Transcription | Download JSON | Passed |
| Video Converter | Download JSON | Passed |
| Base64 Converter | Download JSON | Passed |
Save the JSON file locally before importing it into n8n.
Workflow architecture
Manual Trigger
|
Run MicroEarn Actor
|
Wait for Completion (newer workflows)
|
Validate Run
|
Retrieve OUTPUT
|
Validate Result
Setup instructions
- Download the desired JSON workflow.
- Open n8n and create a new workflow.
- Select Import from File and import the JSON.
- Create an Apify API token with the required permissions.
- Create a Header Auth credential in n8n:
- Name: Authorization
- Value: Bearer YOUR_APIFY_TOKEN
- Allowed domain: api.apify.com
- Assign the credential to every HTTP Request node (two or three, depending on the workflow).
- Execute the workflow manually.
Each workflow includes synthetic sample input for testing.
Use a restricted Apify token whenever possible. The token must be allowed to run the selected Actor and access its default run storage.
Never include API tokens directly in exported workflow files.
Verified n8n integration tests
| Workflow | Successful nodes | Result |
|---|---|---|
| Data Cleaner | 5/5 | Passed |
| PDF Extractor | 5/5 | Passed |
| Image Converter | 5/5 | Passed |
| Audio Converter | 5/5 | Passed |
| Audio Transcription | 6/6 | Passed |
| Video Converter | 6/6 | Passed |
| Base64 Converter | 6/6 | Passed |
Data Cleaner test details
| Metric | Result |
|---|---|
| Total execution time | 3.961 seconds |
| Input rows | 4 |
| Output rows | 2 |
| Duplicate rows removed | 1 |
| Empty rows removed | 1 |
| Output format | JSON |
These results demonstrate successful sample executions, not guaranteed performance for all inputs.
Pricing and safety
- All seven templates are free.
- Apify usage may incur charges.
- Configured maximum charge: $0.05 per execution.
- Manual execution by default.
- No external AI API required.
- The three newest workflows include an additional status request, allowing up to 120 seconds of API waiting. Longer runs require further polling of the existing run ID.
- Review your Apify usage and billing limits before running production workloads.
- Review storage and retention policies before submitting sensitive information.
Quick Start
Create an Apify account and store your API token securely as the APIFY_TOKEN environment variable.
Never publish your API token.
Python integration
Install the dependency:
pip install requests
Run the CSV & JSON Data Cleaner:
import os
import requests
base = "https://api.apify.com/v2"
actor = "microearn~microearn-data-cleaner"
headers = {
"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"
}
payload = {
"content": "Name,City\nMario,Roma\nMario,Roma\nAnna,Milano\n,\n",
"inputFormat": "csv",
"outputFormat": "json"
}
response = requests.post(
f"{base}/acts/{actor}/runs",
headers=headers,
params={
"waitForFinish": 60,
"maxTotalChargeUsd": 0.05,
"memory": 512,
"timeout": 120
},
json=payload,
timeout=90
)
response.raise_for_status()
run = response.json()["data"]
if run["status"] != "SUCCEEDED":
raise RuntimeError(f"Run status: {run['status']}")
store = run["defaultKeyValueStoreId"]
response = requests.get(
f"{base}/key-value-stores/{store}/records/OUTPUT",
headers=headers,
timeout=30
)
response.raise_for_status()
result = response.json()
if result.get("status") != "ok":
raise RuntimeError(result)
print(result)
Verified API response
The REST workflow was successfully tested on December 2, 2026, using the authenticated Apify CLI, and on December 3, 2026, using Postman.
{
"status": "ok",
"rows_processed": 4,
"rows_output": 2,
"duplicates_removed": 1,
"empty_rows_removed": 1,
"data": [
{"name": "Mario", "city": "Roma"},
{"name": "Anna", "city": "Milano"}
],
"output_format": "json",
"rows_charged": 4
}
The Python example implements the same REST workflow. Runs that exceed the synchronous waiting period require status polling before retrieving the output.
Apify CLI integration
npx --yes apify-cli login
npx --yes apify-cli api POST \
acts/microearn~microearn-data-cleaner/runs \
-p '{"waitForFinish":60,"maxTotalChargeUsd":0.05,"memory":512,"timeout":120}' \
-d '{"content":"Name,City\nMario,Roma\nMario,Roma\nAnna,Milano\n,\n","inputFormat":"csv","outputFormat":"json"}'
Retrieve the defaultKeyValueStoreId from the run response, then request the output:
npx --yes apify-cli api GET \
key-value-stores/YOUR_STORE_ID/records/OUTPUT
AI Agent Integration
MicroEarn Actors can be accessed through Apify's API and compatible MCP integrations.
Apify MCP server:
Actor identifiers:
- microearn/microearn-pdf-intelligence
- microearn/microearn-data-cleaner
- microearn/microearn-image-factory
- microearn/microearn-audio-factory
- microearn/microearn-audio-transcription
- microearn/microearn-video-converter
- microearn/microearn-base64-converter
MicroEarn provides specialized processing tools that AI agents can call without requiring additional external AI APIs for the underlying processing tasks.
Integration Status
| Integration | Status |
|---|---|
| Apify REST API via CLI | Tested with Data Cleaner |
| Postman public collection | Published and publicly accessible |
| Postman Data Cleaner | Tested |
| Postman PDF Extractor | Tested |
| Postman Image Converter | Tested |
| Postman Audio Converter | Tested |
| n8n Data Cleaner | Tested |
| n8n PDF Extractor | Tested |
| n8n Image Converter | Tested |
| n8n Audio Converter | Tested |
| n8n Audio Transcription | Sample execution passed |
| n8n Video Converter | Sample execution passed |
| n8n Base64 Converter | Sample execution passed |
| Postman Audio Transcription | Published; functional test pending |
| Postman Video Converter | Published; functional test pending |
| Postman Base64 Converter | Published; functional test pending |
| Python | Integration example available |
| JavaScript | REST API compatible |
| Make | Potential integration |
| Zapier | Potential integration |
| MCP-compatible AI agents | External discovery not yet verified |
Use Cases
Documents and AI
- PDF document extraction
- RAG data preparation
- Structured document processing
- AI agent toolchains
Data processing
- Automated CSV cleaning
- Duplicate record removal
- JSON data normalization
- ETL preprocessing
- CRM data preparation
- E-commerce catalog cleaning
Image processing
- E-commerce image optimization
- Batch image conversion
- Image compression
- Proportional resizing
- WebP conversion
Audio processing
- Audio format conversion
- Podcast preprocessing
- Sample rate conversion
- Mono and stereo conversion
- Audio compression
Limitations
-
Audio transcription: maximum 10 MiB and 120 seconds.
-
Video conversion: maximum 6 MiB and 60 seconds.
-
Base64 conversion: maximum decoded size 5 MiB.
-
New workflow tests verify successful sample execution, not transcription accuracy or long-running performance.
-
PDF extraction: text-based PDFs, no OCR, maximum 200 pages and 20 MB.
-
PDF table extraction is heuristic and may require additional validation.
-
Image processing: JPEG, PNG and WebP, up to 10 images per batch.
-
Audio processing: maximum 10 MB and 120 seconds.
-
Image, audio and PDF files are supplied as Base64 input.
-
OGG Opus output uses a 48 kHz sample rate.
-
Lossy media conversion may reduce quality.
-
Partial audio minutes are rounded up to the next whole minute.
-
Review Apify's storage and retention policies before submitting sensitive information.
-
Use only files and data you are authorized to process.
Security and Cost Control
- Use your own Apify API credentials.
- Store credentials in a local Vault or secure credential manager.
- Never commit API tokens to GitHub.
- Never publish private run identifiers, storage identifiers or signed output URLs.
- Configure maximum charge limits before executing requests.
- Verify run status before retrieving results.
- Validate the returned JSON processing status.
- Avoid submitting confidential or sensitive files without reviewing applicable storage and privacy policies.
- Test integrations with synthetic data before production use.
Documentation
Visit the individual Actor pages for input schemas, pricing, documentation and support.
MicroEarn public Postman collection:
Official Apify API documentation:
Official n8n documentation:
Official Postman documentation:
Feedback and Support
Feedback, integration requests and suggestions are welcome.
Use the Issues section of this repository to report integration problems or request additional workflow examples.
License
Integration examples in this repository are provided under the MIT License.
The underlying MicroEarn processing engines are proprietary and are not included in this repository.
MicroEarn — Small tools for automated workflows.
MCP Integration
MicroEarn is registered in the official MCP Registry.
- Server:
io.github.airanrossicoach-del/microearn - Version: 1.0.0
- Transport: Streamable HTTP
- Authentication: Your own Apify credentials
- Pricing: Pay per use
Remote MCP endpoint
https://mcp.apify.com?tools=microearn/microearn-pdf-intelligence,microearn/microearn-data-cleaner,microearn/microearn-image-factory,microearn/microearn-audio-factory,microearn/microearn-audio-transcription,microearn/microearn-video-converter,microearn/microearn-base64-converter
Connect using a compatible MCP client and your own Apify account. Usage charges apply according to the published Actor pricing.
No installation packages available.