Efficient and Secure Photo Management with Rostrio's API Solution

Integrate the passport photo API to streamline photo collection and verification. Fast, secure, compliant – only {pricing_api} per check. Get started today!

Effortless Passport Photo Integration

Looking for a simple way to collect and verify passport photos? Rostrio's API provides a seamless solution, allowing businesses to integrate a user-friendly photo upload feature directly into their platform.

Users can easily take and upload their passport photos using their smartphone, tablet, or camera. The API automatically checks if the photo meets official passport requirements, ensuring it is suitable for all types of documents.

Secure & Automated Verification

Our API processes photos efficiently, verifying essential criteria such as lighting, contrast, and alignment. It also offers built-in background removal and brightness optimization.

The photos are automatically analyzed for potential errors, such as closed eyes, incorrect head position, or insufficient contrast.

Example API request for photo verification:

Curl -x post https://api.pasfoto.nu/v3/check \
    -h "content-type: multipart/form-data" \
    -h "authorization: basic znjlzdpmcmvk" \
    -f "age=2" \
    -f "background=1" \
    -f "brightness=1" \
    -f "image=ivborw0kggoaaaansuheugaaa..."

A successful request returns a json response with the status and any applied corrections:

{
    "Locale": "{origin_link}",
    "age": 2,
    "errors": [],
    "crop": { "x": 143, "y": 142, "width": 692, "height": 890 },
    "rotate": 0,
    "size": { "width": 35, "height": 45 },
    "correction": { "brightness": 0.0112 }
}

If errors are detected, such as an incorrect head position or reflections, the API will return them in the errors array.

Simple Authentication & Usage

All requests require a basic authentication header. You can generate this easily:

Echo -n "key:secret" | base64

Then, add the encoded key to your request:

-H "authorization: basic <encoded_key>"

The API supports up to 600 requests per minute and returns structured json responses, including error messages and corrections.

Transparent Pricing

We keep pricing simple: {pricing_api} per check.

  • No Subscriptions, Contracts, or Hidden Fees
  • Automatic Monthly Credit Card Billing

Get Started Today

Contact us to start using the Rostrio API and integrate seamless photo verification into your platform.

FAQ

Frequently Asked Questions

Everything you need to know about Rostrio

Still Have Questions?

Our support team is here to help you.

Visit Support