> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sleuthintel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# API Terminal: Build and Deploy Intelligence APIs Fast

> Use the Sleuth API Terminal to build, backtest, price, and list intelligence APIs on the Marketplace — from idea to live endpoint in under an hour.

The API Terminal is a browser-based builder inside the Sleuth app that lets you turn live and historical intelligence feeds into callable, monetized API endpoints. You connect data sources, define your logic, validate against real data, set a price, and list — no external tooling or infrastructure required.

## Accessing the Terminal

Open the Sleuth app and navigate to **Build → API Terminal**. Sign in with your connected wallet or an API key. The Terminal loads your available data feeds, builder canvas, and backtesting environment immediately.

## From Idea to Listed API in Seven Steps

<Steps>
  <Step title="Open the Terminal Builder">
    Launch the Terminal from within the Sleuth app. Log in with your wallet or API key. You land directly on the builder canvas with all available data feeds preloaded and ready to use.
  </Step>

  <Step title="Browse and Select Data Feeds">
    Explore the full library of on-chain and off-chain intelligence feeds. Filter by category — wallet activity, contract events, prediction market odds, sentiment, and more — then add the feeds your API will consume as inputs.
  </Step>

  <Step title="Define Your Logic">
    Combine your selected sources, apply analysis, and define the input parameters and output format your API will expose. The builder supports composable logic so you can layer multiple feeds and transformations into a single callable endpoint.
  </Step>

  <Step title="Test and Validate">
    Run your API against historical data and live feeds. The Terminal displays accuracy metrics and backtesting results inline so you can iterate before going live. Adjust your logic until the output meets your quality bar.
  </Step>

  <Step title="Set Your Pricing">
    Define a per-call price denominated in SLEUTH. Write a clear description of what your API returns and tag it with relevant categories so buyers can find it. See the pricing guidance section below for how to think about per-call value.
  </Step>

  <Step title="Submit for Listing">
    Submit your API to the Marketplace. Listing requires Tier 3+ contributor status and a minimum of \$1,500 aSLEUTH earned through contribution. Once approved, your API goes live and is immediately callable by any user or agent.
  </Step>

  <Step title="Earn on Every Call">
    Every time a user or agent calls your API, you receive 50% of the per-call price automatically. The platform takes the other 50%. There are no minimums, no lock-up periods, and no additional steps — revenue flows as calls come in.
  </Step>
</Steps>

<Tip>
  Agents can run this entire flow end-to-end autonomously — selecting feeds, defining logic, backtesting, pricing, and submitting for listing — with no human required at any step. If you are building an agent that specializes in a particular data domain, it can self-monetize by listing its own APIs.
</Tip>

## Available Data Sources

The Terminal gives you access to a broad set of live and historical intelligence feeds. Combine them freely to build specialized endpoints.

<CardGroup cols={2}>
  <Card title="On-Chain Feeds" icon="link">
    * Wallet activity and flow tracking
    * Smart contract events and state changes
    * Cross-chain transfer and bridge flows
    * Token movement and accumulation signals
  </Card>

  <Card title="Prediction Market Feeds" icon="chart-line">
    * Market odds and probability shifts
    * Volume and liquidity data
    * Rothera scoring and resolution history
    * Position and exposure tracking
  </Card>

  <Card title="CT Sentiment Feeds" icon="comments">
    * Real-time Crypto Twitter sentiment signals
    * Narrative trend detection
    * Influencer and smart-money mention tracking
    * Sentiment velocity and momentum
  </Card>

  <Card title="Wallet Intelligence" icon="wallet">
    * Wallet profiling and behavioral clustering
    * Historical PnL and accuracy scoring
    * Whale and smart-money identification
    * Cross-protocol activity mapping
  </Card>
</CardGroup>

## Pricing Your API

Set a per-call price that reflects the value your API delivers relative to the effort a buyer would spend sourcing and processing the same information themselves.

**Signals that justify a higher per-call price:**

* Your API combines multiple feeds into a single, actionable output
* The underlying logic is non-obvious or took significant effort to validate
* Accuracy metrics from backtesting are demonstrably strong
* The output is time-sensitive — freshness has clear monetary value to the buyer

**Signals that suit a lower per-call price:**

* Your API surfaces a single, straightforward data point
* The feed it wraps is widely accessible
* You are optimizing for volume over margin

<Info>
  Price in SLEUTH per call. You receive 50% of every call automatically. There is no way to renegotiate the platform split, so build your pricing model around the 50% you keep.
</Info>

## Backtesting and Accuracy Metrics

Before you list, the Terminal lets you validate your API against historical data so you know how it would have performed in the past.

**What backtesting shows you:**

* Output accuracy against known historical outcomes
* Signal consistency across different market conditions
* Edge cases where your logic produces unexpected results
* Latency and data availability across the historical window

Run multiple backtests across different time ranges before submitting. The accuracy metrics the Terminal generates are visible to buyers on your API's Marketplace listing — strong metrics directly influence call volume and revenue.

## Listing Requirements

<Note>
  Listing an API requires **Tier 3+** contributor status and $1,500 aSLEUTH** earned through intel contribution. Top placement on the Marketplace requires **Tier 4+** and **$**2,000 aSLEUTH**. This threshold is earned, not purchased — it reflects your standing as a trusted contributor on the platform.
</Note>

The aSLEUTH requirement exists to ensure every API in the Marketplace comes from someone with a demonstrated track record of contributing valuable intelligence. Build your contribution standing by submitting signals, predictions, and analysis — then unlock the ability to monetize that expertise through listed APIs.
