Skip to main content

Feeding (v2)

Legacy feeding routes surface specific feed rate (SFR) benchmarks by region or by country. Both endpoints require a farmer-authenticated token (auth_is_farmer) and accept the optional exclude_self flag to remove the requesting farmer from benchmark calculations.

GET /v2/feeding/sfr-by-region-and-temperature

Returns SFR distributions grouped by AquaCloud region and temperature bucket.

Query parameters

NameTypeDefaultNotes
exclude_selfbooleanfalseWhen true, removes the authenticated farmer’s data from the benchmark calculations.

Response fields (data[])

FieldTypeDescription
regionstringAquaCloud region name.
weight_groupintegerWeight bucket index.
weight_bucket_namestringHuman-readable range (e.g. 0-500).
weight_bucket_start / weight_bucket_endintegerInclusive bucket boundaries in grams (nullable when not supplied).
speciesstringSpecies code represented in the benchmark.
temperaturenumberBucket temperature (°C).
avg_sfrnumberAverage specific feed rate (rounded to four decimals).
median_sfrnumberMedian specific feed rate.
num_of_measurementsintegerTotal measurements used in the bucket (nullable for sparse buckets).
highest_10_percent_avg_sfrnumberAverage SFR for the top 10% of observations.
lowest_10_percent_avg_sfrnumberAverage SFR for the bottom 10% of observations.
avg_temperaturenumberAverage ambient temperature across the bucket.

meta.time records when the response was generated.

Example

curl -X GET "https://api.aquacloud.ai/v2/feeding/sfr-by-region-and-temperature?exclude_self=true" \
-H "Authorization: Bearer $TOKEN" \
-H "x-client-secret: $CLIENT_SECRET"

GET /v2/feeding/sfr-by-country-and-temperature

Matches the same response shape as the regional endpoint but aggregates results at the country level. Use it when you need national benchmarks instead of regional groupings.

Parameters and response fields mirror those described above (without the region column).