Cost Control

Preview Batch Cost

Changed on

Estimate the credit cost and budget impact of a batch enrichment without reserving or consuming credits. FREE dry-run.

post/v1/batch/preview-cost

Request

  • Base URL
    https://api.leadmagic.io
  • Auth
    API key in header X-API-Key

Request body

budget_user_idstring

User ID to check against configured Credit Budgets.

client_idstring
client_namestring
metadataobject

Response

Cost estimate returned (no credits consumed).

totalItemsinteger required
creditsPerItemnumber nullable
totalCreditsnumber required
estimatedCostUsdnumber required
clientCreditRemainingstring nullable
willExceedBudgetboolean required

Changes

    • breaking

      the ////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////////// response's property format changed from uri to uri-reference for status