• Unified API
  • Mobile SDK
  • Connection Widget
  • Streaming
  • Lab Reports API
  • Graph API
  • Health Scores
  • Health Rewards
  • Planned Workouts
  • Lab Testing
  • AI Interface
  • Enterprise
  • Insurance
  • Integrations
  • Research
  • Podcast
  • Blog
  • Reports
  • Events
  • Documentation
  • Community
  • Example apps
  • Wearable Data
  • About
  • Customers
  • Partners
  • Careers
  • Support
  • Pricing
Terra
Pricing
Become an integrationGet started
next ventures
pioneer fund
samsung next
y combinator
general catalyst

The world's best health apps run on Terra data

Get started
ProductsIntegrationsAI InterfaceAuthenticationMobile DevelopmentDocumentationGraphAPI
DocumentationAPISDKQuickstart
CommunityBlogResearchCommunityPodcastAuthorsGithub
CompanyAboutCareersCustomersBecome an IntegrationCookies PolicyGDPRPrivacy PolicyTerms of Purchase
© Terra API. 2026 — All rights reserved.

Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.

Cookies Policy
All articles

Product Updates

The Power of the Data Generator

The Power of the Data Generator One of our many tasks was: How can we let developers test our API quickly? Reading from our docs, you as a developer can see what format


Elliott Yu
Elliott Yu

30 May 2022

The Power of the Data Generator

One of our many tasks was: How can we let developers test our API quickly?

Reading from our docs, you as a developer can see what format we send our data in. However, when it comes to playing around with the API, you may not be completely sure as to what to expect in your webhook for each provider. Things such as what fields from sleep payload does Apple provide or does Google Fit provide Nutrition data. You can now get a comprehensive understanding of what kind of data you expect to receive using our data generator!

Who gives what

When you communicate with Terra, you are always given the same data structure. However, it would be really helpful to know during development the exact type of data each provider provides.

Let's say you are trying to integrate with us for Sleep data with Oura, Google Fit and Garmin. With our data generator, you can preemptively find out if these providers provide sleep data, and most importantly, which fields in our sleep data model do they provide.

Generating Oura Sleep Data

Looking at the above example, you can see that Oura do indeed provide Sleep data. However, does not provide body, nutrition, or activity. Knowing this information before hand allows you to deal with cases where you can avoid unnecessary requests or unexpected empty responses from Terra. In addition, you can also confirm exactly which fields Oura provides so you can avoid hitting null cases, or making sure that the field is populated with an int or a double!

Robust Testing

The data generator sends the data to your webhook exactly as shown in the terminal screen when you press "Send to Webhook". This feature is exceptionally useful for testing. Using generated data, you can make sure your backend is storing the data correctly, handling null or empty values as expected, or getting the data type you are expecting. The data generator also allows you to develop and test for a wearable or provider without you actually having the wearable itself!

Give it a go!

Always been on the edge on whether you should use Terra because you do not know the flow of our data or the data structure well? Now is the time for you to be completely sure of it. Go to our dashboard, sign up, and test it out for yourself!

Get the latest Terra Research reports and insights every week as soon as they're published.

By continuing, I agree to the Privacy Policy and Terms of Service.

Previous
Next

Continue reading

  • Use synthetic data to rapidly prototype health products

    Synthetic users let you put your product through its paces with every health scenario, from marathoners to light sleepers, without waiting for those exact users to show up.

    18 September 2026

  • How Terra Real-Time Streaming Works, and What It Costs

    We often get asked how real-time streaming works and what it costs. Here's everything explained in one place, including pricing and example payloads.

    16 September 2026

  • Terra now delivers per-set strength training data

    Terra now delivers strength workouts set by set: reps, weight, effort and rest, normalized across nine integrations including watch-sensed Garmin sets.

    8 September 2026