---
title: "Approve Entry"
method: POST
path: "/api/admin/market-data/{entry_id}/approve"
tags: ["Admin - Market Data"]
---

# Approve Entry

`POST /api/admin/market-data/{entry_id}/approve`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/admin/market-data/{entry_id}/approve`
- Auth: HTTP bearer

Approve a pending entry, moving it to market_data_live.

## Path parameters

- `entry_id` string, required

## Response `200`

Successful Response

- LiveEntryResponse
  - `id` string, required
  - `category` string, required
  - `scan_date` string, date-time, required
  - `market_summary` string, required
  - `best_value_range_low` number, required
  - `best_value_range_high` number, required
  - `ofgem_price_cap_monthly` number, nullable, required
  - `source_urls` unknown[], required
    - unknown
  - `confidence` string, required
  - `notes` string, nullable, required
  - `affiliate_url` string, required
  - `raw_api_data` object, nullable
  - `data_sources` unknown[], required
    - unknown
  - `approved_date` string, date-time, required
  - `approved_by` string, required
  - `superseded` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
