FishID
Docs

Quickstart

Setup

Base URL
https://fishidai.com
Auth
Authorization: Bearer sk_live_…
Browser keys
pk_live_…, from listed sites only
export FISHID_KEY=sk_live_...

POST /api/v1/regulations

1 credit
curl
curl -X POST https://fishidai.com/api/v1/regulations \
  -H "Authorization: Bearer $FISHID_KEY" \
  -H "Content-Type: application/json" \
  -d '{"species": "California Halibut"}'
JavaScript
const res = await fetch('https://fishidai.com/api/v1/regulations', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FISHID_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ species: 'California Halibut' }),
});
const rules = await res.json();
Response
{
  "commonName": "California Halibut",
  "scientificName": "Paralichthys californicus",
  "season": {
    "status": "open",
    "note": "Recorded as open year round.",
    "sourceUrl": "https://nrm.dfg.ca.gov/FileHandler.ashx?DocumentID=239985"
  },
  "seasonAsOf": "2026-11-03",
  "bagLimits": [
    { "bagLimit": 2, "managementArea": { "name": "Northern" } },
    { "bagLimit": 5, "managementArea": { "name": "Southern" } }
  ],
  "regulations": [{ "code": "T14 CCR §28.15", "title": "Halibut, California" }],
  "records": [{ "weight": "67 lbs., 4 oz.", "location": "Santa Rosa Island", "date": "7/1/2011" }],
  "exactMatch": true,
  "ambiguous": false,
  "cost": 1
}

GET /api/v1/species

1 credit
curl
curl "https://fishidai.com/api/v1/species?slug=california-halibut" \
  -H "Authorization: Bearer $FISHID_KEY"
JavaScript
const res = await fetch('https://fishidai.com/api/v1/species?slug=california-halibut', {
  headers: { Authorization: `Bearer ${process.env.FISHID_KEY}` },
});
const { data } = await res.json();
Response
{
  "data": [{
    "slug": "california-halibut",
    "commonName": "California Halibut",
    "bag": {
      "rule": "Two north of Point Sur, five south of Point Sur (T14 CCR 28.15)",
      "unit": "count",
      "minimumSize": "Twenty-two (22) inches total length",
      "prohibited": false,
      "scope": "varies"
    },
    "season": { "status": "open", "note": "Recorded as open year round." }
  }]
}

GET /api/v1/species/names

Free
curl
curl https://fishidai.com/api/v1/species/names \
  -H "Authorization: Bearer $FISHID_KEY"
JavaScript
const res = await fetch('https://fishidai.com/api/v1/species/names', {
  headers: { Authorization: `Bearer ${process.env.FISHID_KEY}` },
});
const { data } = await res.json(); // 250 species
Response
{
  "data": [
    { "slug": "albacore-tuna", "commonName": "Albacore Tuna", "otherCommonNames": null },
    { "slug": "aleutian-skate", "commonName": "Aleutian Skate", "otherCommonNames": null }
  ]
}

GET /api/v1/locate

Free
curl
curl "https://fishidai.com/api/v1/locate?lat=36.515&lng=-121.95" \
  -H "Authorization: Bearer $FISHID_KEY"
JavaScript
const res = await fetch('https://fishidai.com/api/v1/locate?lat=36.515&lng=-121.95', {
  headers: { Authorization: `Bearer ${process.env.FISHID_KEY}` },
});
const { data } = await res.json(); // data.area.name, data.mpas, data.district.name
Response fields
  • area.name
  • area.boundary
  • mpas
  • exclusionAreas
  • district.name
  • district.regulation
  • source

POST /api/v1/upload

Free
curl
curl -X POST https://fishidai.com/api/v1/upload \
  -H "Authorization: Bearer $FISHID_KEY" \
  -F "image=@catch.jpg"
JavaScript
const form = new FormData();
form.append('image', file);
const res = await fetch('https://fishidai.com/api/v1/upload', {
  method: 'POST',
  headers: { Authorization: `Bearer ${process.env.FISHID_KEY}` },
  body: form,
});
const { imageUrl } = await res.json(); // send to /identify
Response fields
  • imageUrl
  • contentType
  • bytes
  • cost
  • next

POST /api/v1/identify

1 credit per match, +1 per include
curl
curl -X POST https://fishidai.com/api/v1/identify \
  -H "Authorization: Bearer $FISHID_KEY" \
  -H "Content-Type: application/json" \
  -d '{"imageUrl": "https://example.com/catch.jpg", "limit": 1}'
JavaScript
const res = await fetch('https://fishidai.com/api/v1/identify', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FISHID_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ imageUrl: 'https://example.com/catch.jpg', limit: 1 }),
});
const { predictions } = await res.json();
Response fields
  • predictionId
  • predictions[].commonName
  • predictions[].scientificName
  • predictions[].confidence
  • predictions[].bag
  • predictions[].season
  • cost

POST /api/v1/feedback

Free, +1 credit back
curl
curl -X POST https://fishidai.com/api/v1/feedback \
  -H "Authorization: Bearer $FISHID_KEY" \
  -H "Content-Type: application/json" \
  -d '{"predictionId": "<from identify>", "feedbackType": "AGREE"}'
JavaScript
await fetch('https://fishidai.com/api/v1/feedback', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FISHID_KEY}`,
    'Content-Type': 'application/json',
  },
  // AGREE, DISAGREE or UNKNOWN. DISAGREE can carry correctSpeciesId.
  body: JSON.stringify({ predictionId, feedbackType: 'AGREE' }),
});
Response fields
  • success
  • feedbackId
  • creditAwarded
  • message

GET /api/v1/usage

Free
curl
curl "https://fishidai.com/api/v1/usage?days=30" \
  -H "Authorization: Bearer $FISHID_KEY"
JavaScript
const res = await fetch('https://fishidai.com/api/v1/usage?days=30', {
  headers: { Authorization: `Bearer ${process.env.FISHID_KEY}` },
});
const usage = await res.json();
Response fields
  • client.availableCredits
  • window.days
  • totals.calls
  • byEndpoint[]
  • byKey[]

MCP

Same prices as the REST API
claude mcp add --transport http fishid \
  https://fishidai.com/api/mcp \
  --header "Authorization: Bearer $FISHID_KEY"
  • identify_fish
  • get_regulations
  • search_species
  • list_species_names
  • get_usage

Errors

Statuserror
401Unauthorized. Missing Bearer API key.
402Payment Required. Please add a payment method or subscribe to a plan in the Dashboard.
403This endpoint needs a secret key (sk_live_). …
429This key has used its … calls for the month.