Skip to content
Fresh 2026

Custom Conversion Stats

Reading

Access insights aggregated from Custom Conversion

Example

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDK Graph API Explorer

GET /v25.0/{custom-conversion-id}/stats HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->get(
    '/{custom-conversion-id}/stats',
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/{custom-conversion-id}/stats",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{custom-conversion-id}/stats",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]\
                               initWithGraphPath:@"/{custom-conversion-id}/stats"\
                                      parameters:params\
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,\
                                      id result,\
                                      NSError *error) {\
    // Handle the result\
}];

If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

ParameterDescription
aggregation<br>enum {count, device_type, host, pixel_fire, unmatched_count, unmatched_usd_amount, url, usd_amount}The aggregation to use for the stats.<br>device_type: Get the number<br>of pixel fires per mobile device type, grouped by hour.<br>You can use this aggregation type with custom conversions from the event<br>source<br>pixel.<br>host: Get the number of<br>pixel fires for the top 10,000 hosts grouped by hour.<br>You can use this aggregation type with custom conversions from the event<br>source<br>pixel.<br>url: Get the number of<br>pixel fires for the top 10,000 URLs grouped by hour. Facebook pulls<br>query parameters from the URLs.<br>You can use this aggregation type with custom conversions from the event<br>source<br>pixel.<br>pixel_fire: Get the number of<br>pixel fires by hour (deprecated, please use<br>count instead).<br>count: Get the number of<br>event fires.<br>For pixel based custom<br>conversion, the number is grouped by hour.<br>For offline_conversion_data_set<br>based custom conversion, the number is grouped by day.<br>You can use this aggregation type with custom conversions from the event<br>source<br>pixel and<br>offline_conversion_data_set<br>.<br>unmatched_count:<br>Number of event fires Facebook cannot match to user. Grouped by day.<br>You can use this aggregation type with custom conversions from the event<br>source<br>offline_conversion_data_set<br>.<br>usd_amount:<br>USD amount, in cents, for custom conversion grouped by day.<br>You can use this aggregation type with custom conversions from the event<br>source<br>offline_conversion_data_set<br>.<br>unmatched_usd_amount:<br>USD amount, in cents, for custom conversion that Facebook cannot<br>match with users. Grouped by day.<br>You can use this aggregation type with custom conversions from the event<br>source<br>offline_conversion_data_set
end_time<br>datetimeEnd time of the requested stat
start_time<br>datetimeStart time of the requested stat

Fields

Reading from this edge will return a JSON formatted result:

{
    "data": [],
    "paging": {}
}

data

A list of CustomConversionStatsResult nodes.

paging

For more details about pagination, see the Graph API guide.

Error Codes

ErrorDescription
100Invalid parameter
368The action attempted has been deemed abusive or is otherwise disallowed

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.