External API Integration - Overview
Spartera's External API Integration enables you to monetize machine learning models, analytics, and
third-party data APIs without migrating data or exposing your infrastructure. Keep your models and
providers private, maintain complete control, and start generating revenue from day one.
What is External API Integration?
External API Integration is Spartera's solution for connecting any HTTPS API to the marketplace. It supports two integration types, which you choose with the API Type field on the connection:
- Managed Calculation — Spartera calls your API to compute a single value (such as an ML model prediction) and sells it as a Calculation asset. This is the model-monetization path described throughout this section.
- Data Feed Passthrough — Spartera calls a data API, repackages the response into rows you configure, and resells it as a Data endpoint. This is the value-added reselling path for third-party data APIs (search results, market data, enrichment feeds).
Both types let you:
- Keep Your Source Private - Model weights, training data, provider keys, and infrastructure stay completely under your control
- Monetize Instantly - Connect your API today, start earning tomorrow
- Scale Effortlessly - Serve unlimited customers through a single API deployment
- Maintain Security - All communications encrypted, authentication handled automatically
How It Works
┌─────────────┐ ┌──────────────┐ ┌─────────────────┐
│ Buyer │────────▶│ Spartera │────────▶│ Your API │
│ (Customer) │ │ Platform │ │ (Your Model) │
└─────────────┘ └──────────────┘ └─────────────────┘
│ │
│ ◀──── Prediction ──────┘
│
▼
┌────────────────┐
│ Prediction │
│ Returned to │
│ Buyer │
└────────────────┘The Flow
- Buyer Discovery - Customers find your model on Spartera Marketplace
- Request Initiated - Buyer sends prediction request through Spartera
- Authentication & Validation - Spartera validates subscription and credits
- API Call - Request forwarded to your API with authentication
- Prediction - Your model processes and returns prediction
- Delivery - Prediction sent to buyer in standardized format
- Billing - Transaction recorded, you earn 100% of your set price
Key Benefits
For Model Providers (You)
- Total IP Protection - Model weights and training data never leave your infrastructure
- 100% Revenue - Keep 100% of the price you set per prediction
- Zero Overhead - No customer deployments, no multi-cloud complexity
- Instant Scalability - Serve 10 or 10,000 customers with one deployment
- Full Control - You control hosting, scaling, and model updates
For Model Consumers
- No Infrastructure - Access ML predictions without building models
- Pay Per Use - Consumption-based pricing with no upfront costs
- Instant Access - Start getting predictions via API immediately
- Quality Assurance - Performance metrics and reviews before purchase
- Flexibility - Test multiple models without vendor lock-in
Use Cases
Popular Model Categories
- Price Optimization - Dynamic pricing for retail, SaaS, real estate
- Demand Forecasting - Inventory and supply chain planning
- Fraud Detection - Transaction screening for fintech
- Churn Prediction - Customer retention for SaaS
- Lead Scoring - Sales prioritization for B2B
- Credit Risk - Lending decisions for embedded finance
- Property Valuation - Real estate pricing models
- Route Optimization - Logistics and delivery planning
Data Feed Passthrough (Reselling Data APIs)
Beyond model predictions, you can package and resell any third-party data API as a Data endpoint:
- Search & SERP Data - Search-engine results feeds
- Market & Financial Data - Pricing, odds, and market feeds
- Enrichment APIs - Company, contact, and location enrichment
- Web & Scraping APIs - Structured web data
With a Data Feed Passthrough connection, Spartera handles authentication, request assembly, response repackaging, and billing — you configure which fields buyers can filter on and which fields they receive.
Getting Started
Ready to monetize your models? Follow these steps:
- Review Requirements - Understand what Spartera needs from your API
- Connect Your API - Register your endpoint with authentication
- Create Asset - Define inputs, outputs, and pricing
- Test - Validate your integration works correctly
- Publish - Make your model available on the marketplace
- Earn - Start generating revenue from predictions
What You'll Need
- A trained ML model (any framework: TensorFlow, PyTorch, scikit-learn, etc.)
- An HTTPS API endpoint (can be on any cloud: GCP, AWS, Azure, or your servers)
- Basic API development knowledge (REST, JSON)
- 1-2 hours for initial setup
Support
Need help getting started?
- Technical Documentation - Complete guides in this section
- Code Examples - Sample implementations for major platforms
- Community Forum - Connect with other model providers
- Developer Support - Email [email protected]
Next Steps
- Read Requirements & Standards to understand API specifications
- Learn about Response Schema requirements
- See Connecting Your API for step-by-step setup
Estimated Time to First Revenue: 2-4 hours from reading this page to earning your first dollar.
