Lead Scrapers

Preview a lead scraper payment

Returns the amount due for a lead scraper request for the authenticated client. Does not charge.

Behavior

  • Validates params the same way as POST /api/v1/lead-scrapers/submissions
  • An active Aerosend subscription receives a 50% discount
  • An account with no active subscription pays the full price
  • A result count is required even when submit allows it to be omitted
  • When requires_checkout is false, confirming with POST /api/v1/lead-scrapers/payment charges the saved card
  • When requires_checkout is true, that pay call returns checkout_url

Response

  • list_amount: price before the subscription discount
  • amount_due: price after the discount
  • discount_percent: 50 or 0
post/api/v1/lead-scrapers/payment-preview

Request

  • Base URL: https://api.aerosend.io
  • URL: https://api.aerosend.io/api/v1/lead-scrapers/payment-preview
  • Auth: API key in header X-API-Key

Request body

scraperIdstring

Scraper id from GET /api/v1/lead-scrapers

Example request

{
  "scraperId": "clutch"
}

Response

OK

successboolean

Success flag

timestampstring

Response timestamp

Example response

{
  "success": true,
  "data": {
    "scraperId": "google-ads",
    "currencyCode": "USD",
    "discountPercent": 50,
    "listAmount": 1,
    "amountDue": 0.5,
    "quantity": 1,
    "unitCount": 1,
    "checkoutUrl": "https://app.aerosend.io/payment?ptxn=txn_01"
  },
  "timestamp": "2025-12-14T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.