APIs that charge only when they help.

PDF compression, image optimization and JSON to Excel, paid per call from prepaid credit. When a PDF cannot get any smaller, you get your original back and the bill reads $0.00.

Sign-up is not open yet. Keys are issued by request.

JustAPI POST /v1/pdf/compress
Document
59-page client report
Input
27.2 MB
Output
5.1 MB
Smaller by
81%
Time
about 11 s
Charged
$0.04

A real run against the live API, not a projection.

Before
27.2 MB
After
5.1 MB
Drawn to scale. The same 59 pages, 81% smaller, for $0.04.

Three APIs, one contract.

One auth header and one request shape across all three. Every response states what the job did and what it cost.

  • PDF Compression

    Shrinks a PDF by resampling each image to the size it is shown at on the page.

    POST /v1/pdf/compress

    Measured

    59 pages, 27.2 MB down to 5.1 MB in about 11 seconds.

    Price

    $0.02 up to 25 MB
    $0.04 up to 200 MB

  • Image Optimization

    Resize and convert phone photos to JPEG, WebP or PNG, one at a time or 250 per batch.

    POST /v1/image/optimizePOST /v1/image/batch

    Measured

    A batch of 250 images finished in 23 seconds for $0.20.

    Price

    $0.0008 per image, single or batch

  • JSON to Excel

    Post JSON, get a real .xlsx file back, with styles.

    POST /v1/xlsx/generate

    Worked example

    5,000 rows by 18 columns is 90,000 cells, which comes to $0.0068.

    Price

    $0.005 per file
    plus $0.00002 per 1,000 cells

See every endpoint and limit

One call in. A file and its bill back.

No SDK. Send a URL to the file; large jobs run in the background and report to your webhook. The result carries its own arithmetic, so you can check the charge against the work.

Request
curl https://api.justapi.tech/v1/pdf/compress \
  -H "Authorization: Bearer JUSTAPI_KEY" \
  -H "Idempotency-Key: report-2291" \
  -H "Content-Type: application/json" \
  -d '{
    "source": { "url": "https://example.com/report.pdf" },
    "options": { "profile": "auto" },
    "webhook": { "url": "https://example.com/hooks/pdf-done" }
  }'

An Idempotency-Key means a retried workflow never pays twice for the same job.

Result
{
  "status": "completed",
  "stats": {
    "original_bytes": 27200000,
    "output_bytes": 5100000,
    "ratio": 0.81,
    "pages": 59
  },
  "billing": {
    "charged_micros": 40000
  }
}

Trimmed to the fields that matter, with sizes rounded from the measured 59-page run. charged_micros counts millionths of a dollar: 40,000 is $0.04.

When the bill reads $0.00.

A charge has to be explainable. If the work did not happen, or did not help, there is nothing to explain.

  • The PDF could not be made smaller. You get your original file back.

    $0.00
  • The optimized image came out no smaller than the source. It is still returned.

    $0.00
  • An image in a batch failed. You pay for the ones that succeeded.

    $0.00
  • Your request was invalid. Any 4xx.

    $0.00
  • Something broke on our side. Any 5xx.

    $0.00

Work out your bill before you ask for a key.

Type in a month of work. The prices are the published ones: $0.02 or $0.04 per PDF, $0.0008 per image, $0.005 per spreadsheet.

Your estimateper month
PDF compression
$0.00
Image optimization
$0.00
JSON to Excel
$0.00
Total
$0.00

Calculated in your browser from the published price list. Calls that fail or do not help bring this down, never up.

Read the full price list

Plain machinery, on purpose.

No AI in the workers
Compression is resampling and encoding. It is deterministic: the same file and the same options give the same output, at a cost that does not move.
Files do not linger
Inputs and results are deleted automatically within 24 hours, or at once when you acknowledge the download.
Prepaid, to the micro-dollar
Credit is counted in millionths of a dollar, so a $0.0008 image is charged as exactly $0.0008 and never rounded up.
Made for Bubble and other no-code tools
Send a file by URL instead of base64, let long jobs finish in the background, and take the result on a webhook your workflow already understands.

Access is by request, for now.

Self-serve sign-up and card payment are not open yet. Tell us what you need to process and roughly how much, and we will issue a key by hand at the published prices. With a key you can sign in to the console.