Input Parameters

Access detailed location data from 229 countries through our Points of Interest (POI) API. Our database contains 200M+ verified POIs with 50+ data points per location for comprehensive location intelligence.

Endpoints

1. By Attributes

Endpoint: POST https://api.factori.ai/v1/poi/by-attributes

Use this endpoint to search POIs by specific attributes, features, and amenities. This powerful filtering capability allows you to find locations that match precise criteria.

Request Parameters

Location Object

ParameterTypeDescription
latitudefloatLatitude coordinate of the search area
longitudefloatLongitude coordinate of the search area
radiusint32Search radius in meters
primary_addressstringStreet address for targeted search
citystringCity name for location filtering
statestringState/region for location filtering
zipint32ZIP/postal code for precise area filtering
country_codestringISO2 country code (e.g., US, JP, DE)

Filters Object

Filter CategoryTypeDescription
accessibilityarray of stringsFilter by accessibility features (wheelchair access, assisted listening, etc.)
activitiesarray of stringsFilter by available activities (hiking, biking, jogging trails, etc.)
amenitiesarray of stringsFilter by on-site amenities (Wi-Fi, restrooms, ATMs, etc.)
atmospherearray of stringsFilter by ambiance (cozy, quiet, upscale, etc.)
childrenarray of stringsFilter by child-friendly features (high chairs, play areas, etc.)
crowdarray of stringsFilter by typical clientele (tourists, locals, students, etc.)
dining_optionsarray of stringsFilter by food service options (breakfast, lunch, dinner, etc.)
offeringsarray of stringsFilter by specific products or services offered
parkingarray of stringsFilter by parking availability (lot, garage, street, etc.)
paymentsarray of stringsFilter by accepted payment methods
popular_forarray of stringsFilter by common usage patterns (breakfast spot, laptop work, etc.

Sorting Object

ParameterTypeOptionsDescription
order_bystringrating, price_levelField to sort results by
sort_orderstringasc, descAscending or descending order
page_noint32Page number for paginated results

📘

Mandatory

1. Either country_code or latitude + longitude + radius

2. At least one attribute from the filters object

3. page_no

2. By Location

Endpoint: POST https://api.factori.ai/v1/poi/by-location
Use this endpoint to find POIs within a specific geographic area, ideal for proximity searches and location-based applications.

Request Parameters

Location Object

ParameterTypeDescription
latitudefloatLatitude coordinate of the search center point
longitudefloatLongitude coordinate of the search center point
radiusint32Search radius in meters

Filters Object

ParameterTypeDescription
categoriesarray of stringsFilter by business categories (restaurant, retail, etc.)
place_topicsarray of stringsFilter by keywords mentioned in customer reviews

Sorting Object

ParameterTypeOptionsDescription
order_bystringrating, price_levelField to sort results by
sort_orderstringasc, descAscending or descending order
page_noint32Page number for paginated results

📘

Mandatory

1. latitude + longitude _radius

2. page_no

3. By Address

Endpoint: POST https://api.factori.ai/v1/poi/by-address
Use this endpoint to search for POIs at or near a specific address, ideal for address verification or targeted location searches.

Request Parameters

Location Object

ParameterTypeDescription
full_addressstringFull address of the location
primary_addressstringStreet address of the location
citystringCity name
statestringState or region
zipint32ZIP/postal code
country_codestringISO2 country code

Filters Object

ParameterTypeDescription
categoriesarray of stringsFilter by business categories (restaurant, retail, etc.)
place_topicsarray of stringsFilter by keywords mentioned in customer reviews

Sorting Object

ParameterTypeOptionsDescription
order_bystringrating, price_levelField to sort results by
sort_orderstringasc, descAscending or descending order
page_noint32Page number for paginated results

📘

Mandatory

1. country_code + any other field in the location object

2. page_no


Example Requests

Finding All Coffee Shops Within 500m

POST https://api.factori.ai/v1/poi/by-location
{
  "location": {
    "latitude": 40.7128,
    "longitude": -74.0060,
    "radius": 500
  },
  "filters": {
    "categories": ["coffee_shop"]
  },
  "sorting": {
    "order_by": "rating",
    "sort_order": "desc"
  },
  "page_no": 1
}

Finding Wheelchair-Accessible Restaurants with Outdoor Seating

POST https://api.factori.ai/v1/poi/by-attributes
{
  "location": {
    "city": "san francisco",
    "state": "california",
    "country_code": "US"
  },
  "filters": {
    "categories": ["restaurant"],
    "accessibility": ["has_wheelchair_accessible_entrance", "has_wheelchair_accessible_restroom"],
    "service_options": ["has_seating_outdoors"]
  },
  "sorting": {
    "order_by": "rating",
    "sort_order": "desc"
  },
  "page_no": 1
}

What’s Next