---
title: "Quote a clone before spending"
method: POST
path: "/cloning/estimate"
tags: ["Cloning"]
---

# Quote a clone before spending

`POST /cloning/estimate`

## Request

- Base URL: `https://app.getprolifik.com/api/v1`
- URL: `https://app.getprolifik.com/api/v1/cloning/estimate`
- Auth: HTTP bearer

Pure arithmetic — nothing is downloaded, analysed or charged. Before the post is ingested the slide count is unknown, so a photo link is quoted at six slides and the response sets assumedSlides.

## Request body

- EstimateCloningRequest
  - `url` string, required: A single TikTok or Instagram post link.
  - `variations` integer

## Response `200`

Credit quote

- CloningEstimate
  - `credits` integer, required
  - `breakdown` object[], required
    - `label` string, required
    - `credits` integer, required
  - `assumedSlides` integer: Set only before the analysis, when the slide count is the six-slide guess.

## Other responses

- `400`: Request failed
- `401`: Request failed
- `402`: Payment required. error.code is subscription_required (the plan does not include this feature, or the key's account no longer has a plan: API keys are paid-only, so every write from a key whose account has none is refused; see error.upgradeUrl), insufficient_credits (the AI-credit balance is short; see error.needed, error.balance, error.upgradeUrl), or quota_exceeded (a plan quota such as monthly videos or clip minutes).
- `403`: Request failed
- `429`: Request failed

---

[API](https://skmtc.dev/getprolifik/apis/prolifik-public-api.md) · [All operations](https://skmtc.dev/getprolifik/apis/prolifik-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getprolifik/apis/prolifik-public-api/revisions/301e79c5763c?raw)
