"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.
Requests
ServiceExecute["Factual","request",params] sends a request to the Factual API, using parameters params. The following give possible requests.
List of Places
"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
"Query" | (required) | place names or other keywords to search for | |
"Location" | None | ||
"Radius" | None | search radius in meters (only valid with "Location") | |
"Region" | None | US state to search within | |
"Locality" | None | US city to search near | |
MaxItems | 10 | number of results to return per request | |
"Sort" | "Distance" | sorting order parameter (i.e. "Distance", "Name") | |
"InterpretEntities" | False | use Interpreter to find canonical Wolfram Language representations of cities, states, dates, etc. |
Examples
Basic Examples (1)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-cijr8o
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-6g8jpw
In[3]:=3

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-3nxxdn
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-h73ajl
Out[4]=4

In[5]:=5

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-htt6d4
In[6]:=6

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-gjsdpg
Out[6]=6

Get information about places given a locality or a region:
In[7]:=7

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-edgf75
Out[7]=7

In[8]:=8

✖
https://wolfram.com/xid/0bhhprgax10ldcpvdzji-g92e2j
Out[8]=8
