Inference

Batch forecast multiple prediction market questions concurrently

Submit up to 25 forecasting questions and receive concurrent structured predictions.

post/predict/batch

Request

  • Base URL: https://foresea.ink (the document declares no server; this is the origin it was published from)
  • URL: https://foresea.ink/predict/batch
  • Auth: none declared

Request body

concurrency_limitinteger

Max concurrent model calls

Example request

{
  "items": [
    {
      "market_platform": "Polymarket",
      "market_probability": 0.54,
      "question": "Will the Federal Reserve cut interest rates at least once before the end of 2025?",
      "question_type": "binary"
    }
  ]
}

Response

Successful Response

totalinteger required
successfulinteger required
failedinteger required
elapsed_msnumber required

Example response

{
  "results": [
    {
      "confidence": 0.72,
      "evidence_articles": [],
      "evidence_sources": [
        {
          "publish_date": "2025-01-15T10:30:00Z",
          "relevance_score": 0.91,
          "source": "Reuters",
          "title": "Fed signals rate cuts may slow in 2025",
          "url": "https://reuters.com/example"
        }
      ],
      "market_analysis": {
        "edge": 0.18,
        "market_probability": 0.54,
        "market_url": "https://polymarket.com/event/example",
        "model_probability": 0.72,
        "outcome": "Yes",
        "platform": "Polymarket",
        "stance": "model_above_market",
        "summary": "Foresea is 18 percentage points above the market on Yes."
      },
      "model_key": "gpt-oss-120b",
      "model_rationale": "Current Fed guidance suggests rates will remain elevated through mid-2025.",
      "options": [],
      "predicted_answer": "No",
      "question_type": "binary",
      "rationale": "Current Fed guidance suggests rates will remain elevated through mid-2025. Recent inflation data remains above the 2% target, reducing the likelihood of a cut in the near term. However, slowing economic growth introduces some downside risk that could prompt a cut by year-end.",
      "served_model_name": "openai/gpt-oss-120b",
      "variant": "variant0_neutral_baseline"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.