Always treat
GET /account as the runtime source of truth. Subscription state can reduce max_results_per_search to zero, and credits_remaining changes as dashboard and API jobs are created.
Validation order
Before creating a paid search, choose a requested count no higher than:422 before Mapsdata creates a job or reserves credits.
Examples:
A free search requests and reserves 100 credits. Paid searches reserve exactly the requested count. Rejected requests create no job and spend no credits.
Successful jobs retain the reserved charge. Failed jobs follow Mapsdata’s refund path, including restoration of free-search eligibility where applicable. Reading account data, status, search lists, locations, categories, and results consumes no lead credits.
A two-stage workflow is charged separately: a discovery-only search reserves its requested result count, then standalone enrichment reserves one additional credit for every selected business. The free plan contains one 100-credit job, so it cannot run a free discovery job and then a second free enrichment job.