PredictHQ’s Features API

Access forecast-ready prebuilt intelligence and features to enable your teams to extract value from intelligent event data rapidly.

  • Easy access

    Easy access

    Intelligent event data takes time to sift through and integrate. Easily learn what aggregations and patterns impact your business.

  • Save Time

    Save Time

    Save time with prebuilt intelligence and features to insert directly into your forecasting models.

  • Faster time to value

    Faster time to value

    Leverage the Features API to see and use the value of PredictHQs data before integrating into your internal systems.

Forecast ready Features

A library of features at your disposal

For forecasting, you often want to know the total impact of different types of events around a location. You can think of Features API as a library of features for use in your models. Maybe you want to know the total amount of sports events happening in a radius around your location – we’ve got you covered. Do you want to know the average event size happening around your store – we have that. Do you want to know how public holidays, school holidays or observances are impacting your location – it’s all there.
import requests
data = {
    "active": {
        "gte": "2019-11-28",
        "lte": "2019-11-29"
    },
    "location": {
        "place_id": [
            5224323,
            5811704,
            4887398
        ]
    },
    "phq_attendance_conferences": {
        "stats": [
            "min",
            "max"
        ]
    },
    "phq_attendance_sports": True,
    "phq_attendance_concerts": True,
    "phq_rank_public_holidays": True
}
response = requests.post(
    url="https://api.predicthq.com/v1/features",
    headers={
      "Authorization": "Bearer $ACCESS_TOKEN",
      "Accept": "application/json"
    },
    json=data
)
print(response.json())
Total Event Impact

Quickly identify peak days through aggregated data

Events vary in type, size, location, duration and impact. They also frequently cluster, creating outsize impact. Although individual events can have a major impact, we have found that determing the total impact across multiple events its much more insightful. We aggregate these events so data science teams can understand demand spikes to more quickly unlock new opportunities.
Total Event Impact Illustration
Immediate updates

Get your forecast model updated live

We know getting updates to models live in production can be time consuming and expensive. Building features for your model often involves downloading large data volumes into a data lake and managing that data. Then you need to write code to aggregate and create features on top of the data lake. Instead of downloading all of the events data into a data lake use the Features API to get the features you need for your model. Reduce your feature engineering effort and get your models updated in a fraction of the time.
Research and development Illustration
Research and development

Accelerate your model R&D

Incorporating intelligent event data into your models will increase forecast accuracy for many businesses. We want you to be able to see the value quickly. During research and development, Data Science teams can spend a lot of time understanding data, pulling down data, aggregating data, and building features. The Features API is designed to deliver event based features in an easy to use format to make it very easy to try out events data in your models.
Jupyter Notebooks

Get up and running quickly

We’ve created jupyter notebooks on how to integrate our event categories into your models to help your Data Science teams get up and running quickly. It includes guides to using our APIs and data with common Data Science tools and libraries in Python.
Jupyter Notebook Screenshots

Create a new access token via API clients

Pick your API

What are your business needs?

Depending on what you are looking for, we’ll make sure we get you set up with the right API to start getting value out of PredictHQ’s demand intelligence as soon as possible. It may be a combination of a couple.

Customer Stories

Demand intelligence gets results

Our customers include leading companies across retail, transport, accommodation and financial service sectors. They use our intelligent event data for labor optimization, demand forecasting, dynamic pricing, supply chain optimization and more.
Don't underestimate how much effort it takes to work with event data... Being able to rely on a company whose sole purpose is to remove the ambiguity of event data has been game-changing for us.
Read Legion’s Story

You can’t prepare for what you don’t see coming

Harness the power of demand intelligence

Knowing the impact of demand causal factors like events will transform your business. The American Society of Hematology has a $45M estimated economic impact — and that's only one event in one city.

  • 0
    data points enriching
  • 0
    events across
  • 0
    cities, accessed via
    1 API

Get Started

Contact our data science experts to find out the best solutions for your business. We'll get back to you within 1 business day.

Talk to an Expert

Products/Features I'm Interested In *