"Factual" (Service Connection)

Connect to Factual using the Wolfram Language to get data on stores, restaurants, businesses, and other points of interest.

Connecting & Authenticating

ServiceConnect["Factual"] creates a connection to the Factual API.
Use of this connection requires an internet connection and a Factual API key.

Requests

ServiceExecute["Factual","request",params] sends a request to the Factual API, using parameters params. The following give possible requests.

List of Places

Requests:

"PlacesList" a List of rules with information on local businesses (restaurants, hotels, spas, salons, etc.) and points of interest (museums, airports, beaches, landmarks, etc.)

"PlacesDataset" a Dataset of information on local businesses and points of interest

Parameters:
  • "Query"(required)place names or other keywords to search for
    "Location"None
  • GeoPosition to search near
  • "Radius"Nonesearch radius in meters (only valid with "Location")
    "Region"NoneUS state to search within
    "Locality"NoneUS city to search near
    MaxItems10number of results to return per request
    "Sort""Distance"sorting order parameter (i.e. "Distance", "Name")
    "InterpretEntities"Falseuse Interpreter to find canonical Wolfram Language representations of cities, states, dates, etc.
  • Examples

    Basic Examples  (1)

    Create a new connection:

    Get information about places:

    Get information about places given a locality or a region: