Unmanaged (Plain HTTP) API Access

Note: if you need Scout user authorization (which is required for features like friends and verification) then follow this guide instead.

If our official SDKs are not an option for you and you need to develop your own method to access the Scout API, this guide will demonstrate the steps required in order to get stats data.

Step 1: Add the Scout-App Header

When you send an HTTP request to Scout, you must prove that your application is a registered Scout app. To do this, you need to configure your app to send a header with your app ID.

Scout-App header

Set your Scout client ID as the value of this header.

Step 2: Using the Graph

Scout uses Facebook's GraphQL protocol to retrieve information from our data services. This allows you to create queries for exactly the data you need. You'll find examples of GraphQL queries throughout the Scout documentation. If you want somewhere to test your queries, or learn more about the data Scout makes available, we encourage you to try our Graph Explorer. Below is an example of how to query the graph as plain old HTTP.

Note: The Accept header below is important. You must provide it exactly as it appears below.

  • HTTP