Crop Calendar API

Sowing and harvest windows from the FAO crop calendar: one flat row per country, crop, agro-ecological zone and season, with month-day dates, growing period, sowing rate and agronomy comments.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 15 fieldsv1.0

Data from api-cropcalendar.apps.fao.org/api/v1/countries

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Countriesoptional
ISO 2-letter country codes, such as ET or KE. Leave empty for every covered country. One per line, or separated by commas.
Example: ET
Cropsoptional
Optional crop names or parts of names to keep, such as Maize or Corn, sweet. One per line.
Example: Corn, sweet
Languageoptional
Language code for names (en, fr, es).
Example: en

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/fao-crop-calendar/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/fao-crop-calendar/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"countries":["ET"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

countrieslist
ISO 2-letter country codes, such as ET or KE. Leave empty for every covered country.
example: ET
cropslist
Optional crop names or parts of names to keep, such as Maize or Corn, sweet.
example: Corn, sweet
languagetext
Language code for names (en, fr, es).
default: enexample: en

What's in each record

15 fields: 14 here, 1 technical one under Technical details.

Basics

  • Crop name

    Example Corn, sweet

  • Agro ecological zone

    Agro-ecological zone the entry applies to.

    Example Arid agro ecology (Hot to warm lowland plains and tepid to cool mid highlands)

  • Season

    Season note such as First season, when given.

    Example First season

  • Early sowing

    Earliest sowing day, as MM-DD.

    Example 01-01

  • Late sowing

    Latest sowing day, as MM-DD.

    Example 12-31

  • Early harvest

    Earliest harvest day, as MM-DD.

    Example 01-01

  • Late harvest

    Latest harvest day, as MM-DD.

    Example 12-31

  • Growing period days

    Growing period in days, a number or a range such as 105 - 120.

    Example 105 - 120

  • Sowing rate

    Sowing rate with its unit, such as 25 kg/ha.

    Example 25 kg/ha

  • Comments

    Agronomy comments for the entry.

    Example Irrigation, direct seeding, NP fertilizer application at planting and after 30days

Location

  • ISO 2-letter country code

    Example ET

  • Country name

    Example Ethiopia

Dates

  • All year

    Yes when the crop can be grown all year.

    Example Yes

  • Updated date

    When FAO last updated the entry.

    Example Feb 26, 2021

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idRow id built from country, crop, zone and season.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
country_codetextISO 2-letter country code3 of 3
countrytextCountry name3 of 3
croptextCrop name3 of 3
agro_ecological_zonetextAgro ecological zone3 of 3
seasontextSeason2 of 3
is_all_yearyes or noAll year3 of 3
early_sowingtextEarly sowing3 of 3
late_sowingtextLate sowing3 of 3
early_harvesttextEarly harvest3 of 3
late_harvesttextLate harvest3 of 3
growing_period_daystextGrowing period days3 of 3
sowing_ratetextSowing rate2 of 3
commentstextComments3 of 3
updated_datedateUpdated date3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordCrop nameAgro ecological zoneSeasonEarly sowingLate sowingEarly harvestLate harvestGrowing period daysSowing rateCommentsISO 2-letter country codeCountry nameAll yearUpdated date
1Corn, sweetArid agro ecology (Hot to warm lowland plains and tepid to cool mid highlands)—01-0112-3101-0112-31105 - 12025 kg/haIrrigation, direct seeding, NP fertilizer application at planting and after 30daysETEthiopiaYesFeb 26, 2021
2Corn, sweetSemi-Arid Agro-ecology (Hot to warm lowlands and tepid to cool mid highlands)First season05-1507-3009-1010-30105 - 12025 kg/haRainfed, direct sowing, NP fertilizer application at plantingETEthiopiaNoFeb 26, 2021
3Corn, sweetSemi-Arid Agro-ecology (Hot to warm lowlands and tepid to cool mid highlands)First season01-0112-3101-0112-31105 - 163—Irrigation, direct seeding, NP fertilizer application at planting and after 30daysETEthiopiaYesFeb 26, 2021

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The FAO calendar covers about 58 countries; a code outside that list stops the run with the list of valid codes.
  • Dates are month-day text (MM-DD) with no year, because a calendar repeats every year; seasons that cross New Year have a harvest date earlier than the sowing date.
  • Many entries were last updated years ago (the updated_date field shows each entry's own date), and some fields such as sowing_rate or comments are empty for many crops.
  • Without a countries list the run reads every covered country, one request each, so large runs take longer; the crops filter matches part of the crop name, ignoring case.
  • FAO publishes this data for public use; check FAO's terms before reselling it (some FAO tools use CC BY-NC-SA 3.0 IGO) and credit FAO.

Version history

A run uses the live version unless the request names another one with version.