prediction
Prediction Markets
Historical Sports Odds
Historical Sports Odds is a prediction markets capability available through The Odds API on Aweb. Historical odds snapshots for backtesting closing line value strategies. Access it through a single unified API with automatic failover and intelligent routing.
Best for
Highest quality
The Odds API
Premium tier
Most affordable
The Odds API
Economy tier
Contract
Providers (1)
Quick start
Call Historical Sports Odds through Aweb — automatic provider selection, failover, and load balancing included.
cURL
curl -X POST https://api.aweb.studio/v1/execute \
-H "Authorization: Bearer $AWEB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capability": "prediction.historical-odds",
"input": { "prompt": "Hello world" }
}'TypeScript
import { Aweb } from '@aweb/core';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
// Aweb automatically selects the best provider
const result = await aweb.execute({
capability: 'prediction.historical-odds',
input: { prompt: 'Hello world' },
});
console.log(result.output);Orchestration pipeline
import { Aweb } from '@aweb/core';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
// Multi-step pipeline with automatic failover
const result = await aweb.orchestrate({
steps: [
{ id: 'step1', capability: 'prediction.historical-odds', input: { prompt: 'Hello world' } },
{ id: 'step2', capability: 'llm.chat', dependsOn: ['step1'],
input: { prompt: 'Summarize: $step1.output' } },
],
});