Skip to main content
GET
Get all contracts in project

Authorizations

X-Access-Key
string
header
required

An API key is a token that a client provides when making API calls. Send it as the X-Access-Key request header on any endpoint:

Learn how to generate API access tokens at Tenderly Docs.

Path Parameters

accountSlug
string
required

Account slug of the user

projectSlug
string
required

Project slug of the account

Query Parameters

accountType
enum<string>
required

The type of account to return

Available options:
wallet,
contract
page
integer
default:1

The page number, starting at 1. Only applied when perPage is set. Results are ordered by creation time, newest first; iterate pages until a response contains fewer than perPage items.

Required range: x >= 1
perPage
integer

The number of contracts to return per page. If omitted, all contracts in the project are returned in a single response. For projects with a large number of contracts, use paginated requests to keep responses fast and reliable.

Required range: x >= 1

Response

A successful response.

Example: