Object Detection API logo
AIMAINTAINED25 tokens / call

Object Detection API

Labels, confidence scores and bounding boxes for the objects in any image, with an on-platform model

Detect the objects in an image and get labels, confidence scores and bounding boxes, with a minimum-confidence filter. Send an image URL or POST the bytes, JPEG, PNG or WebP up to 2.5 MB. The model runs on the platform, so no third-party keys and no data leaves it.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 25 tokens per call, so the free plan covers about 20 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "count": 1,
  "min_score": 0.5,
  "objects": [
    {
      "label": "cat",
      "score": 0.9983,
      "box": {
        "xmin": 0,
        "ymin": 3,
        "xmax": 1087,
        "ymax": 790
      }
    }
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Object Detection API

  • Flag images that contain people, vehicles or animals in a moderation or security pipeline.

  • Count objects such as cars in a parking lot or products on a shelf from a photo.

  • Crop or highlight detected objects using the returned bounding boxes.

  • Pre-filter uploads before a more expensive manual review.

Object Detection API endpoints

Every endpoint with its parameters and a real example response.

GETDetect Objects

https://api-object-detection.dataandapis.com/v1/detect

Query parameters

ParameterExample
min_score0.5Optional
urlhttps://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpgOptional

Example request

curl "https://api-object-detection.dataandapis.com/v1/detect?min_score=0.5&url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F3%2F3a%2FCat03.jpg" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 1,
  "min_score": 0.5,
  "objects": [
    {
      "label": "cat",
      "score": 0.9983,
      "box": {
        "xmin": 0,
        "ymin": 3,
        "xmax": 1087,
        "ymax": 790
      }
    }
  ]
}

POSTDetect Objects (POST)

https://api-object-detection.dataandapis.com/v1/detect

Request body

{
  "url": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg"
}

Example request

curl -X POST "https://api-object-detection.dataandapis.com/v1/detect" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg" }'
Example response
{
  "ok": true,
  "count": 1,
  "min_score": 0.5,
  "objects": [
    {
      "label": "cat",
      "score": 0.9983,
      "box": {
        "xmin": 0,
        "ymin": 3,
        "xmax": 1087,
        "ymax": 790
      }
    }
  ]
}

Where the data comes from

Source
Cloudflare Workers AI object detector (DETR ResNet-50, COCO classes). No stored dataset.
Freshness
Inference runs live on every call.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
2endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-object-detection.dataandapis.com/v1/detect',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Object Detection API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

min_score(Optional)
url(Optional)
import axios from 'axios';

const url = 'https://api-object-detection.dataandapis.com/v1/detect';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Object Detection API

Ship Object Detection API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.