GET https://mgp-iv.org/api/geo/communes?limit=10&q=Antsirabe

HTTP Client

1 Total requests
0 HTTP errors

Clients

http_client 1

Requests

GET https://api.bigmap.mg/api/v1/commune/search
Request options
[
  "headers" => [
    "Authorization" => "Bearer gs_live_e9d24a7cf95b_09dee4fb2866ee80be60f4607d312de22941adae276366319cea28577bcde04b"
    "Accept" => "application/json"
  ]
  "query" => [
    "q" => "Antsirabe"
    "limit" => 10
  ]
  "timeout" => 5
]
Response 200
[
  "info" => [
    "header_size" => 550
    "request_size" => 278
    "total_time" => 0.401286
    "namelookup_time" => 0.000589
    "connect_time" => 0.018659
    "pretransfer_time" => 0.045389
    "size_download" => 570.0
    "speed_download" => 1421.0
    "starttransfer_time" => 0.400697
    "primary_ip" => "2001:41d0:303:3b95::1"
    "primary_port" => 443
    "local_ip" => "2001:1600:4:11::47a"
    "local_port" => 50474
    "http_version" => 2
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 45344
    "connect_time_us" => 18659
    "namelookup_time_us" => 589
    "pretransfer_time_us" => 45389
    "starttransfer_time_us" => 400697
    "total_time_us" => 401286
    "effective_method" => "GET"
    "start_time" => 1796230071.0523
    "original_url" => "https://api.bigmap.mg/api/v1/commune/search?q=Antsirabe&limit=10"
    "pause_handler" => Closure(float $duration) {#1200
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#1245 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#1236 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => """
      *   Trying 2001:41d0:303:3b95::1:443...\n
      * Connected to api.bigmap.mg (2001:41d0:303:3b95::1) port 443 (#0)\n
      * ALPN, offering h2\n
      * ALPN, offering http/1.1\n
      * successfully set certificate verify locations:\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384\n
      * ALPN, server accepted to use http/1.1\n
      * Server certificate:\n
      *  subject: CN=api.bigmap.mg\n
      *  start date: Oct 15 05:31:09 2026 GMT\n
      *  expire date: Jan 13 05:31:08 2027 GMT\n
      *  subjectAltName: host "api.bigmap.mg" matched cert's "api.bigmap.mg"\n
      *  issuer: C=US; O=Let's Encrypt; CN=YE2\n
      *  SSL certificate verify ok.\n
      > GET /api/v1/commune/search?q=Antsirabe&limit=10 HTTP/1.1\r\n
      Host: api.bigmap.mg\r\n
      Authorization: Bearer gs_live_e9d24a7cf95b_09dee4fb2866ee80be60f4607d312de22941adae276366319cea28577bcde04b\r\n
      Accept: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * old SSL session ID is stale, removing\n
      * Mark bundle as not supporting multiuse\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json; charset=utf-8\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Vary: Accept-Encoding\r\n
      < Vary: Accept\r\n
      < Vary: Content-Type\r\n
      < Vary: Authorization\r\n
      < Vary: Origin\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-Frame-Options: deny\r\n
      < Allow: OPTIONS, HEAD, GET\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Wed, 02 Dec 2026 16:47:51 GMT\r\n
      < Link: <https://api.bigmap.mg/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"\r\n
      < ETag: W/"73c3a5f20d511c61"\r\n
      < Content-Encoding: gzip\r\n
      < \r\n
      """
  ]
  "url" => "https://api.bigmap.mg/api/v1/commune/search?q=Antsirabe&limit=10"
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json; charset=utf-8"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Vary: Accept-Encoding"
    "Vary: Accept"
    "Vary: Content-Type"
    "Vary: Authorization"
    "Vary: Origin"
    "X-Content-Type-Options: nosniff"
    "X-Frame-Options: deny"
    "Allow: OPTIONS, HEAD, GET"
    "Cache-Control: no-cache, private"
    "Date: Wed, 02 Dec 2026 16:47:51 GMT"
    "Link: <https://api.bigmap.mg/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
    "ETag: W/"73c3a5f20d511c61""
    "Content-Encoding: gzip"
  ]
  "response_json" => [
    [
      "layer" => "commune"
      "code" => "2300500016"
      "designation" => "Antsirabe"
      "breadcrumb" => "DIANA · AMBANJA · Antsirabe"
      "latitude" => -13.88117175
      "longitude" => 48.15078683
    ]
    [
      "layer" => "commune"
      "code" => "0200100001"
      "designation" => "Antsirabe"
      "breadcrumb" => "VAKINANKARATRA · ANTSIRABE I · Antsirabe"
      "latitude" => -19.87676995
      "longitude" => 47.02418582
    ]
    [
      "layer" => "commune"
      "code" => "1600200022"
      "designation" => "Antsirabe Afovoany"
      "breadcrumb" => "SOFIA · MANDRITSARA · Antsirabe Afovoany"
      "latitude" => -15.9996298
      "longitude" => 48.97035818
    ]
    [
      "layer" => "commune"
      "code" => "2400400003"
      "designation" => "Antsirabe Avaratra"
      "breadcrumb" => "SAVA · IHARANA · Antsirabe Avaratra"
      "latitude" => -14.03047051
      "longitude" => 49.95353471
    ]
    [
      "layer" => "commune"
      "code" => "1400100013"
      "designation" => "Antsirabe Sahatany"
      "breadcrumb" => "AMBATOSOA · MAROANTSETRA · Antsirabe Sahatany"
      "latitude" => -15.37124437
      "longitude" => 49.23143541
    ]
    [
      "layer" => "commune"
      "code" => "1900600010"
      "designation" => "Antaly"
      "breadcrumb" => "ATSIMO ANDREFANA · AMPANIHY · Antaly"
      "latitude" => -24.36247385
      "longitude" => 44.91971561
    ]
    [
      "layer" => "commune"
      "code" => "0700100020"
      "designation" => "Anteza"
      "breadcrumb" => "FITOVINANY · MANAKARA · Anteza"
      "latitude" => -21.65295953
      "longitude" => 47.81711471
    ]
    [
      "layer" => "commune"
      "code" => "1000100003"
      "designation" => "Ambiabe"
      "breadcrumb" => "VATOVAVY · IFANADIANA · Ambiabe"
      "latitude" => -21.42870264
      "longitude" => 47.58322592
    ]
    [
      "layer" => "commune"
      "code" => "0900200007"
      "designation" => "Anilobe"
      "breadcrumb" => "ATSIMO ATSINANANA · VANGAINDRANO · Anilobe"
      "latitude" => -23.20635343
      "longitude" => 47.49691481
    ]
    [
      "layer" => "commune"
      "code" => "1600200015"
      "designation" => "Anjiabe"
      "breadcrumb" => "SOFIA · MANDRITSARA · Anjiabe"
      "latitude" => -15.65544512
      "longitude" => 48.36442823
    ]
  ]
]