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

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" => "Ants"
    "limit" => 10
  ]
  "timeout" => 5
]
Response 200
[
  "info" => [
    "header_size" => 550
    "request_size" => 273
    "total_time" => 0.395629
    "namelookup_time" => 0.01477
    "connect_time" => 0.032895
    "pretransfer_time" => 0.064707
    "size_download" => 545.0
    "speed_download" => 1379.0
    "starttransfer_time" => 0.395018
    "primary_ip" => "2001:41d0:303:3b95::1"
    "primary_port" => 443
    "local_ip" => "2001:1600:4:11::47a"
    "local_port" => 50454
    "http_version" => 2
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 64617
    "connect_time_us" => 32895
    "namelookup_time_us" => 14770
    "pretransfer_time_us" => 64707
    "starttransfer_time_us" => 395018
    "total_time_us" => 395629
    "effective_method" => "GET"
    "start_time" => 1796230069.6871
    "original_url" => "https://api.bigmap.mg/api/v1/commune/search?q=Ants&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=Ants&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:50 GMT\r\n
      < Link: <https://api.bigmap.mg/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"\r\n
      < ETag: W/"08c086d66bfb1104"\r\n
      < Content-Encoding: gzip\r\n
      < \r\n
      """
  ]
  "url" => "https://api.bigmap.mg/api/v1/commune/search?q=Ants&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:50 GMT"
    "Link: <https://api.bigmap.mg/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
    "ETag: W/"08c086d66bfb1104""
    "Content-Encoding: gzip"
  ]
  "response_json" => [
    [
      "layer" => "commune"
      "code" => "1500500003"
      "designation" => "Antseza"
      "breadcrumb" => "BOENY · MITSINJO · Antseza"
      "latitude" => -16.28522808
      "longitude" => 45.81245665
    ]
    [
      "layer" => "commune"
      "code" => "0800100020"
      "designation" => "Antsoha"
      "breadcrumb" => "IHOROMBE · IHOSY · Antsoha"
      "latitude" => -21.89214112
      "longitude" => 46.14431824
    ]
    [
      "layer" => "commune"
      "code" => "2200400005"
      "designation" => "Antsoha"
      "breadcrumb" => "MENABE · BELO SUR TSIRIBIHINA · Antsoha"
      "latitude" => -19.97530762
      "longitude" => 44.89756059
    ]
    [
      "layer" => "commune"
      "code" => "2300100015"
      "designation" => "Antsoha"
      "breadcrumb" => "DIANA · ANTSIRANANA II · Antsoha"
      "latitude" => -12.79382049
      "longitude" => 49.39269242
    ]
    [
      "layer" => "commune"
      "code" => "1600200023"
      "designation" => "Antsoha"
      "breadcrumb" => "SOFIA · MANDRITSARA · Antsoha"
      "latitude" => -15.79591392
      "longitude" => 48.83578781
    ]
    [
      "layer" => "commune"
      "code" => "0200200012"
      "designation" => "Antsoso"
      "breadcrumb" => "VAKINANKARATRA · BETAFO · Antsoso"
      "latitude" => -19.77837956
      "longitude" => 46.85013584
    ]
    [
      "layer" => "commune"
      "code" => "1900500007"
      "designation" => "Antsavoa"
      "breadcrumb" => "ATSIMO ANDREFANA · BETIOKY · Antsavoa"
      "latitude" => -23.51885128
      "longitude" => 44.78641171
    ]
    [
      "layer" => "commune"
      "code" => "1600500012"
      "designation" => "Antsahabe"
      "breadcrumb" => "SOFIA · ANTSOHIHY · Antsahabe"
      "latitude" => -14.74426711
      "longitude" => 48.24857587
    ]
    [
      "layer" => "commune"
      "code" => "2300100014"
      "designation" => "Antsalaka"
      "breadcrumb" => "DIANA · ANTSIRANANA II · Antsalaka"
      "latitude" => -12.62370553
      "longitude" => 49.21928964
    ]
    [
      "layer" => "commune"
      "code" => "1800300001"
      "designation" => "Antsalova"
      "breadcrumb" => "MELAKY · ANTSALOVA · Antsalova"
      "latitude" => -18.58190398
      "longitude" => 44.63064993
    ]
  ]
]