> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# List Projects

GET https://api.bigcommerce.com/stores/{store_hash}/v3/infrastructure/projects

Returns a list of infrastructure hosting projects for the store. Supports cursor-based pagination and filtering.

Reference: https://docs.bigcommerce.com/developer/api-reference/rest/admin/management/infrastructure-hosting/projects/list-projects

## Authentication

- `X-Auth-Token` header (required) — ### OAuth scopes | UI Name | Permission | Parameter | |:--------|:-----------|:----------| | Infrastructure Deployments | read-only | `store_infrastructure_deployments_read_only` | | Infrastructure Deployments | create preview | `store_infrastructure_deployments_create_preview` | | Infrastructure Deployments | manage | `store_infrastructure_deployments_manage` | | Infrastructure Projects | read-only | `store_infrastructure_projects_read_only` | | Infrastructure Projects | manage | `store_infrastructure_projects_manage` | | Infrastructure Logs | read-only | `store_infrastructure_logs_read_only` | ### Authentication header | Header | Argument | Description | |:-------|:---------|:------------| | `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see our [Guide to API Accounts](/developer/docs/overview/api-fundamentals/api-accounts#api-accounts). | ### Further reading For example requests and more information about authenticating BigCommerce APIs, see [Authentication and Example Requests](/developer/docs/overview/api-fundamentals/api-accounts#x-auth-token-header-example-requests). For more about BigCommerce OAuth scopes, see our [Guide to API Accounts](/developer/docs/overview/api-fundamentals/api-accounts#oauth-scopes). For a list of API status codes, see [API Status Codes](/developer/api-reference/rest/overview#rest-http-status-codes).

## Request

### Path parameters

- `store_hash` (string, required) — Permanent ID of the BigCommerce store.

### Query parameters

- `limit` (integer, optional, default: 50) — The number of results to return per page. Defaults to 50.
- `after` (string, optional) — Cursor for forward pagination. Returns results after this cursor.
- `before` (string, optional) — Cursor for backward pagination. Returns results before this cursor.
- `uuid:in` (string, optional) — A comma-separated list of project UUIDs by which to filter. For example, `?uuid:in=uuid1,uuid2`.
- `name:like` (string, optional) — Filter projects by name using a partial match.
- `date_created:min` (datetime, optional) — Filter for projects created after this date. RFC 3339 format, for example `2024-01-01T00:00:00Z`.
- `date_created:max` (datetime, optional) — Filter for projects created before this date. RFC 3339 format, for example `2024-12-31T23:59:59Z`.
- `date_modified:min` (datetime, optional) — Filter for projects modified after this date. RFC 3339 format.
- `date_modified:max` (datetime, optional) — Filter for projects modified before this date. RFC 3339 format.

## Response

### 200

The request completed successfully.

- `data` (list of Project, optional)
- `meta` (CursorPaginationMeta, optional) — Meta information including cursor-based pagination.

## Errors

### 422 Unprocessable Entity Error

A query parameter is not a valid filter.

- `status` (integer, optional) — The HTTP status code.
- `title` (string, optional) — A description of the error.
- `type` (string, optional) — A URL identifying the error type.
- `errors` (ErrorResponseErrors, optional) — Additional error details.
- `meta` (map from string to any, optional) — Additional structured context for the error, such as the ownership-verification TXT record to publish, the conflicting `project_uuid`, or the domain `limit` and `current` count.

## Types

### Project

An infrastructure hosting project.

- `uuid` (string, optional) — The unique identifier for the project.
- `name` (string, optional) — The name of the project.
- `deployment_hostnames` (list of string, optional) — The hostnames the project's deployments are served from. Populated asynchronously after provisioning: this is empty or omitted immediately after a project is created and until its first deployment completes.
- `date_created` (datetime, optional) — The date the project was created, in RFC 3339 format.
- `date_modified` (datetime, optional) — The date the project was last modified, in RFC 3339 format.

### CursorPaginationMeta

Meta information including cursor-based pagination.

- `cursor_pagination` (CursorPaginationMetaCursorPagination, optional)

### ErrorResponseErrors

Additional error details.

### CursorPaginationMetaCursorPagination

- `count` (integer, optional) — The number of items in the current page.
- `per_page` (integer, optional) — The number of items per page.
- `start_cursor` (string, optional) — The cursor marking the start of the current page.
- `end_cursor` (string, optional) — The cursor marking the end of the current page.
- `links` (CursorPaginationMetaCursorPaginationLinks, optional)

### CursorPaginationMetaCursorPaginationLinks

- `previous` (string, optional) — The relative URL for the previous page.
- `next` (string, optional) — The relative URL for the next page.

## Examples

**Response**

```json
{
  "data": [
    {
      "uuid": "019500e2-933d-7057-8e81-090dd7240795",
      "name": "my-storefront",
      "deployment_hostnames": [
        "catalyst.catalyst-sandbox.store"
      ],
      "date_created": "2024-06-15T10:30:00Z",
      "date_modified": "2024-06-16T14:22:00Z"
    }
  ],
  "meta": {
    "cursor_pagination": {
      "count": 1,
      "per_page": 50,
      "start_cursor": "abc123",
      "end_cursor": "def456",
      "links": {
        "previous": "?before=abc123",
        "next": "?after=def456"
      }
    }
  }
}
```

**SDK Code**

```python Response
import requests

url = "https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects"

headers = {"X-Auth-Token": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Response
const url = 'https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects';
const options = {method: 'GET', headers: {'X-Auth-Token': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Response
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Auth-Token", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Response
require 'uri'
require 'net/http'

url = URI("https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Auth-Token"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Response
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects")
  .header("X-Auth-Token", "<apiKey>")
  .asString();
```

```php Response
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects', [
  'headers' => [
    'X-Auth-Token' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Response
using RestSharp;

var client = new RestClient("https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Auth-Token", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Response
import Foundation

let headers = ["X-Auth-Token": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.bigcommerce.com/stores/store_hash/v3/infrastructure/projects")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```