---
title: OF02 - Get Information and Statistics About an Import
slug: of02-get-information-and-statistics-about-an-import
docTags: 
createdAt: 2023-02-28T19:24:00.000Z
---

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://saksus2-dev.mirakl.net/api/offers/imports/{import}",
  "name": "OF02 - Get Information and Statistics About an Import",
  "method": "GET",
  "request": {
    "pathParameters": [
      {
        "kind": "required",
        "name": "import",
        "type": "Integer",
        "children": [],
        "description": "Import identifier"
      }
    ],
    "queryParameters": [
      {
        "kind": "optional",
        "name": "shop_id",
        "type": "Integer",
        "children": [],
        "description": "Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used."
      }
    ],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": ""
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "xmfx98ly0WGpEN_-TG0xC",
        "code": "",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "xmfx98ly0WGpEN_-TG0xC"
  },
  "examples": {
    "languages": [
      {
        "id": "kp9MqTThpSHatgKq9D7vh",
        "code": "curl --location -g --request GET 'https://saksus2-dev.mirakl.net/api/offers/imports/{import}?shop_id=Integer' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: string'",
        "language": "curl",
        "customLabel": ""
      },
      {
        "id": "Fg8BOly-xp4jaKljYrlV8",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://saksus2-dev.mirakl.net/api/offers/imports/{import}?shop_id=Integer',\n   'headers': {\n      'Accept': 'application/json',\n      'Authorization': 'string'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "language": "nodejs",
        "customLabel": ""
      },
      {
        "id": "gMDEa9GoNOBC3CUrPqTFA",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Authorization\", \"string\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://saksus2-dev.mirakl.net/api/offers/imports/{import}?shop_id=Integer\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "language": "javascript",
        "customLabel": ""
      },
      {
        "id": "NYJiM9fTpxivfXEWdxaTI",
        "code": "import requests\n\nurl = \"https://saksus2-dev.mirakl.net/api/offers/imports/{import}?shop_id=Integer\"\n\npayload={}\nheaders = {\n   'Accept': 'application/json',\n   'Authorization': 'string'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "language": "python",
        "customLabel": ""
      },
      {
        "id": "po4eGh_N4NKLVQLr5nCB0",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://saksus2-dev.mirakl.net/api/offers/imports/{import}?shop_id=Integer\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Authorization\"] = \"string\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "language": "ruby",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "kp9MqTThpSHatgKq9D7vh"
  },
  "description": "Used after OF01 to check the status of an import.",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "of02-get-information-and-statistics-about-an-impor",
  "legacyHash": "evru1yXdgP10BRHpf7ls_"
}
```
:::

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
**CALL FREQUENCIES**
:::

:::VerticalSplitItem
Recommended: After each OF01 call, every 5 minutes

Maximum: Once per minute
:::
::::

