---
title: "Marketplace Predict"
method: POST
path: "/api/v1/marketplace/models/{model_id}/predict"
tags: ["marketplace"]
---

# Marketplace Predict

`POST /api/v1/marketplace/models/{model_id}/predict`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/marketplace/models/{model_id}/predict`
- Auth: none declared

Run inference on a published marketplace model.

Loads the model from its stored path (cached in memory after first load),
runs prediction on input features, records a billing transaction with
80/20 revenue split (creator/platform), and returns the prediction
along with latency and cost.

Free-tier callers are not charged.

## Path parameters

- `model_id` integer, required

## Headers

- `x-api-key` string

## Request body

- MarketplacePredictRequest: Run inference on a marketplace model.
  - `features` object, required: Input features matching model's input_schema

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
