
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 creditcurl
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 creditcurl
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
Freecurl
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 speciesResponse
{
"data": [
{ "slug": "albacore-tuna", "commonName": "Albacore Tuna", "otherCommonNames": null },
{ "slug": "aleutian-skate", "commonName": "Aleutian Skate", "otherCommonNames": null }
]
}GET /api/v1/locate
Freecurl
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.nameResponse fields
area.namearea.boundarympasexclusionAreasdistrict.namedistrict.regulationsource
POST /api/v1/upload
Freecurl
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 /identifyResponse fields
imageUrlcontentTypebytescostnext
POST /api/v1/identify
1 credit per match, +1 per includecurl
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
predictionIdpredictions[].commonNamepredictions[].scientificNamepredictions[].confidencepredictions[].bagpredictions[].seasoncost
POST /api/v1/feedback
Free, +1 credit backcurl
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
successfeedbackIdcreditAwardedmessage
GET /api/v1/usage
Freecurl
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.availableCreditswindow.daystotals.callsbyEndpoint[]byKey[]
MCP
Same prices as the REST APIclaude mcp add --transport http fishid \ https://fishidai.com/api/mcp \ --header "Authorization: Bearer $FISHID_KEY"
identify_fishget_regulationssearch_specieslist_species_namesget_usage
Errors
| Status | error |
|---|---|
401 | Unauthorized. Missing Bearer API key. |
402 | Payment Required. Please add a payment method or subscribe to a plan in the Dashboard. |
403 | This endpoint needs a secret key (sk_live_). … |
429 | This key has used its … calls for the month. |