GET api/v1/grower/lat/{lat}/lon/{lon}/radius/{radius_in_meters}

Provides grower details within a given radius based on the latitude and longitude values.

Request Information

Headers

In order to receive live data, you must provide the necessary information to authenticate. This will require an API-Key, which is to be provided within the request header for every request. If an API-Key is not provided, sandbox data will be returned.

Name Description Type Additional Information
API-Key 32 Character GUID key String Required to return live information. If not provided, sandbox data will be returned.

URI Parameters

NameDescriptionTypeAdditional information
lat

Latitude for growers within a certain radius, between -90 and 90 in decimal degrees.

decimal number

Required

lon

Longitude for growers within a certain radius, between -180 and 180 in decimal degrees.

decimal number

Required

radius_in_meters

Radius for the latitude and longitude, Radius Minumum 1: Maximum: 10000 meters.

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of Grower Details within a given radius based on the latitude and longitude values.

Collection of V1_Grower
NameDescriptionTypeAdditional information
Grower_ID

Grower ID of associated grower

integer

Required

Primary_Contact_Individual

Primary Contact Ind - Y

string

None.

Producer_Code

Best Producer Code

string

None.

Company_Name

County Name | Individual

string

None.

First_Name

Grower first name

string

None.

Middle_Initial

Grower Middle Initial

string

None.

Last_Name

Grower last name

string

None.

Name_Suffix

Grower name suffix

string

None.

Address_Id

The Farm Market iD Internal Address ID

integer

None.

Address_1

Grower Addresss, Line 1

string

None.

City

Grower City

string

None.

State_Code

State code

string

None.

Zip_Code

Zip Code (+9)

string

None.

Zip_Code_4

Zip Code (5)

string

None.

Phone_Number

Grower phone number

string

None.

Mobile_Number

Grower Mobile number

string

None.

Email_Address

Grower email address. This field will only be populated if the API Key is authorized to access this information. Otherwise, the field will be returned as an empty string.

string

None.

FIPS_Code

FIPS Code

string

None.

County_Name

County Name

string

None.

DPV_Flag

DPV Flag

string

None.

Gender_Code

Gender Code

string

None.

Lat

Grower Latitude

decimal number

None.

Lon

Grower longitude

decimal number

None.

Geo_Level

Geo level

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Grower_ID": 1,
    "Primary_Contact_Individual": "sample string 2",
    "Producer_Code": "sample string 3",
    "Company_Name": "sample string 4",
    "First_Name": "sample string 5",
    "Middle_Initial": "sample string 6",
    "Last_Name": "sample string 7",
    "Name_Suffix": "sample string 8",
    "Address_Id": 9,
    "Address_1": "sample string 10",
    "City": "sample string 11",
    "State_Code": "sample string 12",
    "Zip_Code": "sample string 13",
    "Zip_Code_4": "sample string 14",
    "Phone_Number": "sample string 15",
    "Mobile_Number": "sample string 16",
    "Email_Address": "sample string 17",
    "FIPS_Code": "sample string 18",
    "County_Name": "sample string 19",
    "DPV_Flag": "sample string 20",
    "Gender_Code": "sample string 21",
    "Lat": 22.1,
    "Lon": 23.1,
    "Geo_Level": "sample string 24"
  },
  {
    "Grower_ID": 1,
    "Primary_Contact_Individual": "sample string 2",
    "Producer_Code": "sample string 3",
    "Company_Name": "sample string 4",
    "First_Name": "sample string 5",
    "Middle_Initial": "sample string 6",
    "Last_Name": "sample string 7",
    "Name_Suffix": "sample string 8",
    "Address_Id": 9,
    "Address_1": "sample string 10",
    "City": "sample string 11",
    "State_Code": "sample string 12",
    "Zip_Code": "sample string 13",
    "Zip_Code_4": "sample string 14",
    "Phone_Number": "sample string 15",
    "Mobile_Number": "sample string 16",
    "Email_Address": "sample string 17",
    "FIPS_Code": "sample string 18",
    "County_Name": "sample string 19",
    "DPV_Flag": "sample string 20",
    "Gender_Code": "sample string 21",
    "Lat": 22.1,
    "Lon": 23.1,
    "Geo_Level": "sample string 24"
  }
]

text/html

Sample:
[{"Grower_ID":1,"Primary_Contact_Individual":"sample string 2","Producer_Code":"sample string 3","Company_Name":"sample string 4","First_Name":"sample string 5","Middle_Initial":"sample string 6","Last_Name":"sample string 7","Name_Suffix":"sample string 8","Address_Id":9,"Address_1":"sample string 10","City":"sample string 11","State_Code":"sample string 12","Zip_Code":"sample string 13","Zip_Code_4":"sample string 14","Phone_Number":"sample string 15","Mobile_Number":"sample string 16","Email_Address":"sample string 17","FIPS_Code":"sample string 18","County_Name":"sample string 19","DPV_Flag":"sample string 20","Gender_Code":"sample string 21","Lat":22.1,"Lon":23.1,"Geo_Level":"sample string 24"},{"Grower_ID":1,"Primary_Contact_Individual":"sample string 2","Producer_Code":"sample string 3","Company_Name":"sample string 4","First_Name":"sample string 5","Middle_Initial":"sample string 6","Last_Name":"sample string 7","Name_Suffix":"sample string 8","Address_Id":9,"Address_1":"sample string 10","City":"sample string 11","State_Code":"sample string 12","Zip_Code":"sample string 13","Zip_Code_4":"sample string 14","Phone_Number":"sample string 15","Mobile_Number":"sample string 16","Email_Address":"sample string 17","FIPS_Code":"sample string 18","County_Name":"sample string 19","DPV_Flag":"sample string 20","Gender_Code":"sample string 21","Lat":22.1,"Lon":23.1,"Geo_Level":"sample string 24"}]

application/xml, text/xml

Sample:
<ArrayOfV1_Grower xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FF_API.Models.Grower.V1">
  <V1_Grower>
    <Address_1>sample string 10</Address_1>
    <Address_Id>9</Address_Id>
    <City>sample string 11</City>
    <Company_Name>sample string 4</Company_Name>
    <County_Name>sample string 19</County_Name>
    <DPV_Flag>sample string 20</DPV_Flag>
    <Email_Address>sample string 17</Email_Address>
    <FIPS_Code>sample string 18</FIPS_Code>
    <First_Name>sample string 5</First_Name>
    <Gender_Code>sample string 21</Gender_Code>
    <Geo_Level>sample string 24</Geo_Level>
    <Grower_ID>1</Grower_ID>
    <Last_Name>sample string 7</Last_Name>
    <Lat>22.1</Lat>
    <Lon>23.1</Lon>
    <Middle_Initial>sample string 6</Middle_Initial>
    <Mobile_Number>sample string 16</Mobile_Number>
    <Name_Suffix>sample string 8</Name_Suffix>
    <Phone_Number>sample string 15</Phone_Number>
    <Primary_Contact_Individual>sample string 2</Primary_Contact_Individual>
    <Producer_Code>sample string 3</Producer_Code>
    <State_Code>sample string 12</State_Code>
    <Zip_Code>sample string 13</Zip_Code>
    <Zip_Code_4>sample string 14</Zip_Code_4>
  </V1_Grower>
  <V1_Grower>
    <Address_1>sample string 10</Address_1>
    <Address_Id>9</Address_Id>
    <City>sample string 11</City>
    <Company_Name>sample string 4</Company_Name>
    <County_Name>sample string 19</County_Name>
    <DPV_Flag>sample string 20</DPV_Flag>
    <Email_Address>sample string 17</Email_Address>
    <FIPS_Code>sample string 18</FIPS_Code>
    <First_Name>sample string 5</First_Name>
    <Gender_Code>sample string 21</Gender_Code>
    <Geo_Level>sample string 24</Geo_Level>
    <Grower_ID>1</Grower_ID>
    <Last_Name>sample string 7</Last_Name>
    <Lat>22.1</Lat>
    <Lon>23.1</Lon>
    <Middle_Initial>sample string 6</Middle_Initial>
    <Mobile_Number>sample string 16</Mobile_Number>
    <Name_Suffix>sample string 8</Name_Suffix>
    <Phone_Number>sample string 15</Phone_Number>
    <Primary_Contact_Individual>sample string 2</Primary_Contact_Individual>
    <Producer_Code>sample string 3</Producer_Code>
    <State_Code>sample string 12</State_Code>
    <Zip_Code>sample string 13</Zip_Code>
    <Zip_Code_4>sample string 14</Zip_Code_4>
  </V1_Grower>
</ArrayOfV1_Grower>