---
updatedAt: 2026-05-07T14:08:12.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/gtm-reporting/llms.txt
---

# Report detailed map diff diagnostics for a data center and country

Returns detailed geo and ping score time series for the given domain, datacenter, and country over the specified time period.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Global Traffic Management Reporting API",
    "url": "https://techdocs.akamai.com/gtm-reporting/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Diagnostics",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/diagnostics/mapdiff/domains/{domain}/datacenters/{datacenterId}/countries/{countryCode}": {
      "get": {
        "description": "Returns detailed geo and ping score time series for the given domain, datacenter, and country over the specified time period.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Global Traffic Management Reporting API",
          "url": "https://techdocs.akamai.com/gtm-reporting/reference/get-diagnostics-mapdiff-datacenter-country"
        },
        "operationId": "get-diagnostics-mapdiff-datacenter-country",
        "parameters": [
          {
            "description": "Start date of report, in ISO 8601 format of `YYYY-MM-DDThh:mm:ssZ` in UTC time.",
            "in": "query",
            "name": "start",
            "required": true,
            "schema": {
              "example": "2021-05-23T01:56:13Z",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/start-query.yaml"
            }
          },
          {
            "description": "End date of report, in ISO 8601 format of `YYYY-MM-DDThh:mm:ssZ` in UTC time.",
            "in": "query",
            "name": "end",
            "required": true,
            "schema": {
              "example": "2021-05-24T01:56:13Z",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/end-query.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "dataRows": [
                    {
                      "geoScore": 72.4,
                      "pingScore": 85.1,
                      "timestamp": "2021-05-23T00:05:00Z"
                    }
                  ],
                  "dataSummary": {},
                  "links": [
                    {
                      "href": "/gtm-api/v1/reports/diagnostics/mapdiff/domains/example.akadns.net/datacenters/3200/as/12345",
                      "rel": "self"
                    }
                  ],
                  "metadata": {
                    "domain": "example.akadns.net",
                    "end": "2021-05-24T00:00:00Z",
                    "start": "2021-05-23T00:00:00Z",
                    "uri": "/gtm-api/v1/reports/diagnostics/mapdiff/domains/example.akadns.net/datacenters/3200/as/12345"
                  }
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "dataRows": {
                      "description": "The detailed score rows for the datacenter and AS or country combination.",
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "geoScore": {
                            "description": "The geographic score at this timestamp.",
                            "nullable": true,
                            "type": "number"
                          },
                          "pingScore": {
                            "description": "The ping score at this timestamp.",
                            "nullable": true,
                            "type": "number"
                          },
                          "timestamp": {
                            "description": "An ISO 8601 timestamp indicating when this data point was recorded.",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "dataSummary": {
                      "description": "Summary statistics for the report.",
                      "type": "object"
                    },
                    "links": {
                      "description": "Hypermedia links to help navigate through the result set, or to identify the current item whose `rel` is `self`.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Hypermedia links to help navigate through the result set, or to identify the current item whose `rel` is `self`.",
                        "properties": {
                          "href": {
                            "description": "A relative path to the currently requested object or a specific page of the result set.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "rel": {
                            "description": "The relationship between the current and linked result sets. A value of `self` links to the current result set, while `first`, `next`, and `last` link to different sets of paginated data.",
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "href",
                          "rel"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/links.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "description": "Report metadata describing the query parameters and resource URI.",
                      "properties": {
                        "domain": {
                          "description": "The GTM domain name.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "end": {
                          "description": "An ISO 8601 timestamp indicating when the reporting period ends.",
                          "type": "string"
                        },
                        "start": {
                          "description": "An ISO 8601 timestamp indicating when the reporting period starts.",
                          "type": "string"
                        },
                        "uri": {
                          "description": "The URL of this report.",
                          "format": "uri",
                          "type": "string"
                        }
                      },
                      "required": [
                        "domain",
                        "start",
                        "end",
                        "uri"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "metadata",
                    "dataRows",
                    "links"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/mapdiff-detailed-diagnostics.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          }
        },
        "summary": "Report detailed map diff diagnostics for a data center and country",
        "tags": [
          "Diagnostics"
        ]
      },
      "parameters": [
        {
          "description": "Name of Traffic Management domain.",
          "in": "path",
          "name": "domain",
          "required": true,
          "schema": {
            "example": "example.akadns.net",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/domain-path.yaml"
          }
        },
        {
          "description": "Data center ID.",
          "in": "path",
          "name": "datacenterId",
          "required": true,
          "schema": {
            "example": 3200,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/datacenter-id-path.yaml"
          }
        },
        {
          "description": "The two-letter ISO country code.",
          "in": "path",
          "name": "countryCode",
          "required": true,
          "schema": {
            "example": "US",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/country-code-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/diagnostics-mapdiff-datacenter-country.yaml",
        "path-info": "/diagnostics/mapdiff/domains/{domain}/datacenters/{datacenterId}/countries/{countryCode}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/gtm-api/v1/reports"
    }
  ],
  "tags": [
    {
      "description": "Provides diagnostic data on how GTM is distributing traffic, including datacenter mapping decisions, per-IP routing logic, and map snapshot diffs.",
      "name": "Diagnostics"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "08-diagnostics.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Report datacenter diagnostics](https://techdocs.akamai.com/gtm-reporting/reference/get-diagnostics-datacenter.md)
* [Report IP diagnostics](https://techdocs.akamai.com/gtm-reporting/reference/get-diagnostics-ip.md)
* [Report map diff diagnostics](https://techdocs.akamai.com/gtm-reporting/reference/get-diagnostics-mapdiff.md)
* [Report detailed map diff diagnostics for a data center and AS](https://techdocs.akamai.com/gtm-reporting/reference/get-diagnostics-mapdiff-datacenter-as.md)