Wildlife Detection API – AI Species Recognition

Wildlife Detection API

Add AI animal recognition to your own product — one call, no ML to build

The same wildlife AI that powers TrailCamHub, available to your code. Send an image or video URL and get back the species, how many animals, antler hints and more — in a single REST request. No models to train, no GPUs to run, no datasets to label.

Generate your API key → · Read the docs →


Why build on TrailCamHub instead of your own model

  • Skip the machine learning entirely. You call one endpoint; we run proven wildlife models behind it — MegaDetector for detection, DeepFaune in Europe and Google's SpeciesNet worldwide. No training, no infrastructure, no MLOps.
  • Images and video. One endpoint handles both — send image_url or video_url.
  • Region-aware accuracy. Choose the EU or global model, geofence the global model with country or coordinates, and restrict results to the species you actually expect.
  • Rich, structured results. Species with confidence, deduplicated animal counts, buck/antler hints for the deer species you choose, people-and-vehicle detection, and bounding boxes you can draw straight onto your images.
  • Pay as you go. Each call draws from your credit balance — 1 credit per image, 10 credits per video. No per-camera fees, no monthly minimums.
  • Self-serve and live in minutes. Generate a key in your account and start sending requests immediately.

How it works

  1. Generate an API key in your TrailCamHub account and keep it secret.
  2. POST a JSON body with a single image_url or video_url, plus any optional overrides (region, model, species, coordinates).
  3. Read the JSON response — detected species, counts, antler/sex hints and bounding boxes. Credits are drawn automatically per call.

Quick start

Endpoint

POST https://trailcamhub.com/api/public/detect

Headers

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Minimal request

curl -X POST https://trailcamhub.com/api/public/detect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "image_url": "https://example.com/photo.jpg" }'

With overrides (all optional — defaults come from your profile)

curl -X POST https://trailcamhub.com/api/public/detect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "model": "global",
    "species": ["roe_deer", "red_fox"],
    "latitude": 47.12,
    "longitude": 11.34,
    "country": "AT"
  }'

JavaScript (fetch)

const res = await fetch("https://trailcamhub.com/api/public/detect", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ image_url: "https://example.com/photo.jpg" }),
});
const data = await res.json();

Species keys must match the model's vocabulary — deepfaune_label_en for the EU model, speciesnet_key for the global model. Omit species and we fall back to your region plus your profile favorites.


Built on proven wildlife models

You're not getting a black box trained on who-knows-what. Under the hood are the same conservation-grade models used across wildlife research — MegaDetector to find the animals, DeepFaune for European species and SpeciesNet for global coverage of 2,000+ species — wrapped in a clean API and constrained to the species and region you specify. The result: fewer odd misclassifications, and the doubtful cases surfaced rather than hidden.


Who it's for

  • Trail-camera and hunting-tech companies that want to add AI recognition to their product without building an ML team.
  • App and platform developers — hunting, wildlife, outdoor and farm-monitoring apps that need species detection in their own pipeline.
  • Researchers and conservation projects processing camera-trap imagery at scale.
  • Anyone with their own photo or video workflow who'd rather call an API than run GPUs.

Pricing

Calls draw from your TrailCamHub credit balance: 1 credit per image, 10 credits per video. The same credit packs you use across TrailCamHub apply here — top up once and spend it wherever you like, API or app. No subscription tied to the API, no per-camera fees.


Start detecting in minutes

Generate a key, send your first request, and you're live.

Generate your API key → · Read the full docs →