FiboFlow Pro
Pricing
$1.00 / 1,000 results
Go to Apify Store

FiboFlow Pro
FiboFlow generates Fibonacci sequences on demand and makes them available via API or datasets. Customize sequence length, starting numbers, and output format. Ideal for math enthusiasts, developers testing algorithms, or any workflow that needs quick access to Fibonacci patterns at scale
Pricing
$1.00 / 1,000 results
Rating
5.0
(1)
Developer

Ali Moghadam
Maintained by Community
Actor stats
0
Bookmarked
4
Total users
4
Monthly active users
2 months ago
Last modified
Categories
Share
FiboFlow Pro - Fibonacci API
A powerful Fibonacci sequence calculation API using Apify SDK 3.
Features
- Calculate the n-th Fibonacci number
- Returns the complete Fibonacci sequence up to the n-th position
- Input validation and error handling
- Optimized iterative algorithm for better performance
- Structured dataset output with friendly user interface
- Multiple data views (Overview, Detailed, Sequence)
Usage
Input
The actor expects a JSON input with the following structure:
{"n": 10}
Where n is the position in the Fibonacci sequence (0-100).
Output
The actor returns:
{"input": 10,"fibonacci_number": 55,"sequence": [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55],"timestamp": "2025-09-07T...","message": "The 10-th Fibonacci number is 55"}
Local Development
- Install dependencies:
$npm install
- Test the Fibonacci logic:
$npm run test
- Test the actor logic locally:
$npm run test-local
- Run the actor (uses default input n=10):
$npm start
- Test with Apify CLI (recommended for full testing):
# Option A: Using npx (no global install needed)npx apify-cli run --input '{"n": 15}'# Option B: If you have Apify CLI installed globallyapify run --input '{"n": 15}'
Deployment to Apify
- Login to Apify:
# Using npx (recommended)npx apify-cli login# Or if globally installedapify login
- Deploy the actor:
# Using npxnpx apify-cli push# Or if globally installedapify push
API Endpoints
Once deployed, you can access the actor via:
- Apify API:
https://api.apify.com/v2/acts/[ACTOR_ID]/runs - Web Interface:
https://console.apify.com/actors/[ACTOR_ID]
Examples
Calculate 10th Fibonacci number
curl -X POST https://api.apify.com/v2/acts/[ACTOR_ID]/runs \-H "Authorization: Bearer [API_TOKEN]" \-H "Content-Type: application/json" \-d '{"n": 10}'
Using Apify Client
const { ApifyApi } = require('apify-client');const client = new ApifyApi({token: 'YOUR_API_TOKEN',});const run = await client.actor('[ACTOR_ID]').call({n: 15});console.log(run.defaultDatasetItems);


