https://openmenu.com/api/v2/trends.php?key=[API_KEY] + parameters

Parameters
key
[required] key for access to the API (get/view your key)
format: api key
offset
[not required] offset of results to get (paging)
format: integer with a max of 10 (default: 0)
postal_code
[required] Limit the results to a location. Must be present if city is not.
format: postal code to limit search results
city
[required] Limit the results to a location. Required if postal code is not passed.
format: string
state
[not required] Force the results to be limited to a single state.
format: 2 characters (two-digit code)
country
[required] Limit the results to a single country.
format: ISO 3166-1 alpha-2
Return Values
api
Returns details about the API and call
  • status: see below Return Status Codes
  • api_version: 2.2
  • format: json
  • api_key: [your api key]
frequency
return of frequency(s) with the following structure
  • term: 2 - 125 characters
  • total_frequency: integer
  • avg_postion: float
  • score: float
  • weight: float
menu_items
return of menu_item(s) with the following structure
  • mi_name: 2 - 75 characters
  • mi_description: 0 - 450 characters
  • total_frequency: integer
  • avg_postion: float
  • avg_price: float
  • score: float
  • weight: float
Return Status Codes
200
successful call
204
call resulted in an empty resultset
400
incorrect or missing API key
404
incorrect or missing required parameter
429
call limit exceeded on API key (check your limit)
Sample Response
Notes
  • use an ID of 'sample' (no quotes, no other options) for a sample result that doesn't count against your credits.