Spaces:
No application file
No application file
Castor Price Forecasting API - Generated Credentials
Your API Key
API_KEY: castor_d167aa169b5e4219a66779e45fbaaefe
Server Details
- URL: http://127.0.0.1:5000 (localhost)
- Public URL: http://172.16.32.97:5000
- Port: 5000
- Status: Running
Quick Test
Health Check
curl http://127.0.0.1:5000/api/health
Get Forecast
curl -X POST http://127.0.0.1:5000/api/forecast \
-H "Content-Type: application/json" \
-H "X-API-Key: castor_d167aa169b5e4219a66779e45fbaaefe" \
-d '{
"product": "Castor",
"start_date": "2025-12-01",
"end_date": "2026-01-31"
}'
For App Developer Integration
- Use the API Key:
castor_d167aa169b5e4219a66779e45fbaaefe - Server Address:
- For local testing:
http://127.0.0.1:5000 - For network access:
http://172.16.32.97:5000
- For local testing:
- Authentication: Add header
X-API-Key: castor_d167aa169b5e4219a66779e45fbaaefe
Deployment to Production
See DEPLOYMENT_GUIDE.md for complete deployment instructions with:
- Docker support
- Gunicorn setup
- Environment variable configuration
- Error handling best practices
Files Available
api_production.py- Production API serverDEPLOYMENT_GUIDE.md- Complete deployment guideapi_keys.json- Stores all generated keysdaily_oilseeds_full_ml_dataset_2015_01_01_2025_12_02.csv- Data file