---
title: "getPackages"
method: GET
path: "/v1/packages"
tags: ["Objects"]
---

# getPackages

`GET /v1/packages`

Get a list of all packages on the Iota Network. Packages are smart contracts on Iota that execute custom logic.

## Query parameters

- `page` integer, required
- `size` integer, required
- `orderBy` 'ASC' | 'DESC', required
- `sortBy` 'AGE' | 'MODULES' | 'TRANSACTIONS', required — Select sorting parameter.
- `searchStr` string
- `isListedInDirectory` boolean — Flag showing that the queried package is listed in the Iotascan Directory.

## Response `200`

OK

---

[API](https://skmtc.net/blockberry/apis/sui-mainnet-api.md) · [All operations](https://skmtc.net/blockberry/apis/sui-mainnet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockberry/sui-mainnet-api/revisions/3e4cb73940b7/schema)
