Developer API

Marketplace image checks for your next integration.

An Amazon product image validation API, Shopify product image checker API and Etsy listing image validator in one endpoint. Read image metadata, check explicit technical rules and export a repaired image for your ERP or seller tool.

Pay from one prepaid balance

Check: $0.005 per original image, across up to three platforms. Repair: $0.020 for one platform output, including technical checks. Top up $9, $29 or $49. No subscription or per-request card charge.

PNG, JPEG and WebP inputs only, up to 10 MB / 16 megapixels / 8000 pixels per side. Animations are unsupported. Invalid inputs, busy requests and failed processing are not charged. A completed check is charged even when technical rules fail.

What this API checks

Dimensions, format, file size and relevant transparency restrictions. Results distinguish mandatory technical checks from recommendations. A passing report does not mean platform approval: product occupancy, background uniformity, authenticity, prohibited content and category-specific rules are not evaluated.

Repair fits the image onto a white square canvas (2000 px for Amazon/Etsy, 2048 px for Shopify) and exports JPEG. It does not remove existing photographic backgrounds or recover missing image detail.

Rule version 2026-10-25; source pages read 2026-11-13. Pixel and file-size figures (Etsy 2000 px and 635 px on the first photo, Shopify 2048 px square) and Amazon's 1,600 px zoom figure are recommendations, not rejection rules. Etsy's accepted formats and its no-transparent-PNG note are checked objectively.

Try the response shape without spending balance

The public pricing endpoint requires no account. The example below illustrates a small JPEG; authenticated uploaded-image checks use your paid balance. No free uploaded-image quota is included in this release.

GET /api/v1/pricing

{
  "metadata": {"width": 900, "height": 720, "format": "JPEG", "file_size_bytes": 214237},
  "platforms": {
    "amazon": {
      "technical_checks_passed": true,
      "needs_adjustment": false,
      "recommendations": ["At least 1000 pixels on the longest side is recommended for zoom."]
    }
  }
}

Illustrative excerpt; production reports include rule sources, individual checks and fields not evaluated.

Check an image

Create a scoped key in your account. Keep it on your backend. Fetch pricing before submitting; send its price_version to accept that price schedule.

curl https://image.beita.fun/api/v1/images/validate \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Idempotency-Key: product-123-check-v1' \
  -F '[email protected]' \
  -F 'platforms=["amazon","shopify","etsy"]' \
  -F 'price_version=2026-10-25-v1'

For a repaired image, use /api/v1/images/repair and select exactly one platform. The JSON response includes before/after reports and an authenticated download_url. Send the same Bearer key when downloading.

Retries, limits and billing

  • Use a new Idempotency-Key for a new job. Identical retries return the completed result without a second charge. Changed inputs with the same key are rejected.
  • Outputs expire after 2 hours. Each output allows 10 downloads, without extra charges. A new generation after expiry is a new paid job.
  • 60 requests per minute per key, a configurable daily spend cap, and one processing job across the service. Retry busy responses with exponential backoff.
  • HTTP 402: insufficient balance; 403: credentials, scope or spending limit; 409: processing/busy/rate limit; 400: invalid request or outdated price; 410: output expired.
  • GET /api/v1/balance returns your available balance. API keys are shown once and can be revoked. They share the account balance and must not be embedded in public JavaScript.