---
title: "Packages Search"
description: "Learn how to effectively use IMG packages search API"
url: "https://docs.itsmydev.com.au/guides/img-comparator-api/packages-search-api"
image: "https://docs.itsmydev.com.au/_og/d/c_Ocean.takumi,title_Packages+Search,description_Learn+how+to+effectively+use+IMG+packages+search+API,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiM2M0MyOUUifX19,p_Ii9ndWlkZXMvaW1nLWNvbXBhcmF0b3ItYXBpL3BhY2thZ2VzLXNlYXJjaC1hcGki,s_tz7Yaadv9mJfeMXl.png"
---

## Packages Search

## [What is package search?](#what-is-package-search)

Packages search is IMG core API to perform health insurance policies comparison accorss all the **panel funds** and **non panel funds** in IMG system. Packages search also assist in price calculation based on factors such as customer rebate, LHC and discounts (If applicable).

Packages come in two forms on IMG API:

1.  **Simple-Search** - Provides minimal information for policy comparison. This is useful for users who need a small response size. /`product/compare`
2.  **Full-Search** - Provides all information for policy comparison in full detail. This is useful for users who would like to display all aspects of policy information and comparison to customers. Please be aware that the response size will be large. `/product/compare-full`

The request body can be use for both simple and full search.

## [Health Insurance Comparison API](#health-insurance-comparison-api)

Let's say you want to compare health insurance for a customer born on 30 September 1992, looking for **Family** coverage with **Combined** (Hospital + Extras) insurance. The customer is eligible for the Australian Government Rebate and lives in Victoria.

For hospital coverage, they want **private hospital**. For extras, they're interested in **General Dental** and **Physiotherapy**.

Please note, for hospital services and extra service IDs, you can grab them from `/services` API

They'd like to see the **3 cheapest options** first.

The request body would look like this:

```json
{
  "application": {
    "personal": {
      "dob": "1992-09-30"
    },
    "policy": {
      "cover_type": 2,
      "membership_type": 3,
      "federal_rebate": true
    },
    "primary_address": {
      "state": "VIC"
    }
  },
  "services": {
    "hospital": [16],
    "ancillary": [1, 2]
  },
  "filters": {
    "display_order": "price_lowhi",
    "page_size": 3
  }
}
```

The API will return matching health insurance packages sorted by price from lowest to highest, with premiums calculated based on the customer's age, location, and rebate eligibility.