Help Center

Find answers, guides, and resources to help you succeed

Getting Started

Learn the basics and start integrating

API Reference

Detailed endpoint documentation

Authentication

API keys and security best practices

Troubleshooting

Common issues and solutions

Getting Started

Quick Start Guide

Get up and running with FaceHub API in minutes. This guide walks you through creating an account, obtaining your API key, and making your first API request.

  1. Sign up for a free account at FaceHub API
  2. Copy your API key from the confirmation email
  3. Make your first request using the example below
curl -X POST https://api.facehub.cloud/v1/count \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"app":"myapp","url":"https://example.com/photo.jpg"}'

Understanding Plans and Pricing

Choose the right plan for your needs. We offer a generous free tier for development and testing, plus scalable pay-as-you-go options for production use.

Free Tier

  • • 100 images/month
  • • All endpoints available
  • • Community support

Pay-as-you-go

  • • 10,000 images included
  • • €0.01 per additional image
  • • Priority support

Best Practices

Follow these best practices to get the most out of FaceHub API:

  • Secure your API keys: Never expose keys in client-side code or public repositories
  • Implement rate limiting: Respect API rate limits to avoid throttling
  • Handle errors gracefully: Implement proper error handling and retries
  • Optimize image sizes: Use appropriately sized images to reduce processing time
  • Cache results: Cache API responses when appropriate to reduce costs

API Reference

POST /v1/queue

Queue multiple images for batch processing. Extracts faces, embeddings, and metadata.

Request Body:

{"app": "myapp", "tag": "optional-tag", "urls": ["url1", "url2"]}
View full documentation →
POST /v1/selfie

Search for images containing a specific person by providing a selfie.

Request Body:

{"app": "myapp", "url": "selfie_url", "threshold": 60}
View full documentation →
POST /v1/count

Count the number of faces detected in an image.

Request Body:

{"app": "myapp", "url": "image_url"}
View full documentation →

Authentication

Using API Keys

All API requests require authentication using a Bearer token. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Security Warning: Keep your API keys secure. Never commit them to version control or expose them in client-side code.

Rotating Your API Keys

If you suspect your API key has been compromised, contact support to rotate it. Steps to rotate:

  1. Contact support@parklolo.com
  2. Request a new API key
  3. Update your applications with the new key
  4. Old key will be deactivated after confirmation

Troubleshooting

401 Unauthorized Error

Cause: Invalid or missing API key

Solution:

  • Verify your API key is correct
  • Ensure you're using the Authorization header: Authorization: Bearer YOUR_KEY
  • Check that your API key hasn't expired

429 Rate Limit Exceeded

Cause: Too many requests in a short time period

Solution:

  • Implement exponential backoff for retries
  • Check the Retry-After header
  • Consider upgrading to a higher tier plan
  • Batch requests using the /v1/queue endpoint

No Faces Detected

Cause: Image quality or content issues

Solution:

  • Ensure the image contains visible faces
  • Check image quality and resolution (minimum 100x100px per face)
  • Verify the image URL is publicly accessible
  • Ensure faces are not heavily obscured or at extreme angles

Slow Response Times

Cause: Large image files or network issues

Solution:

  • Optimize image sizes before uploading (recommended max 5MB)
  • Use the /v1/queue endpoint for batch processing
  • Check API status for service issues
  • Implement caching for frequently accessed results

Frequently Asked Questions

Quick answers to common questions

Our face detection model achieves very high accuracy. Results depend on image quality, lighting conditions, face angles, and occlusion. Best results are achieved with well-lit, front-facing photos with minimal obstruction.

All standard image formats are supported including JPEG, PNG, WebP, GIF, TIFF, and more. Images are automatically converted and optimized during processing.

We never store your images. Images are processed in real-time and immediately discarded. Only face embeddings and metadata are stored permanently until your account is deleted or you request deletion by contacting support.

Yes! Both free and paid plans can be used for commercial applications. However, you must ensure compliance with GDPR and other applicable data protection regulations. You are responsible for obtaining necessary consents from individuals whose images you process. See our Terms & Conditions for details.

Currently, there are no rate limits on API requests. You can make as many requests as needed. Usage limits are based on your monthly image quota: Free tier includes 100 images per month, and Pay-as-you-go includes 10,000 images per month with additional images charged at €0.01 each.

You can upgrade to a paid plan anytime from the pricing page. To downgrade or cancel, contact support@parklolo.com. Changes take effect at the start of the next billing cycle. No refunds for partial months.

We provide a REST API that works with any HTTP client library in any programming language. There are no official SDKs - simply use standard HTTP libraries like axios (JavaScript), requests (Python), fetch (JavaScript), or curl (command line) to integrate our API into your application.

Free tier: API requests will return a 429 error once you reach 100 images. Pay-as-you-go: You'll be charged €0.01 per additional image beyond the 10,000 included. Contact support if you need to set spending limits.

Still Need Help?

Can't find what you're looking for? Our support team is here to help.