---
updatedAt: 2026-06-25T23:08:12.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/netstorage-usage/llms.txt
---

# Get started

## Enable access to the API

You grant access to the API with a properly configured NetStorage upload account. Enable access to the Usage API using the [Configuration API](https://techdocs.akamai.com/netstorage/reference/post-upload-accounts) or using the NetStorage Groups UI in ​Akamai Control Center​.

From the Control Center menu, click **Content delivery > Edge applications > NetStorage**.

1. Access the **Upload Accounts** entity.
2. Click **+ Add New Upload Account** or edit an existing account.
   * Store the upload account name for later use as the `uploadAccountId`.
3. In the **Access Methods** content panel for an upload account, select the **NetStorage HTTP CMS API** tab.
4. Click **+ Add HTTP API Key**, and click **Yes** in the window to confirm.

A valid key is automatically generated and applied to the account. Use this key is in calls you issue to the API. Click **Copy Key** in the Actions column to add it to your clipboard.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/a939dd4-AccessMethods-UsageAPI.png",
        "AccessMethods-UsageAPI.png",
        901,
        242,
        "#f5f5f3"
      ],
      "caption": "After you add a new HTTP API Key, you can copy it for use."
    }
  ]
}
[/block]

[block:callout]
{
  "type": "info",
  "body": "Access to the API is enabled, but the account must complete propagation which can take upwards of 120 minutes. Once complete, you will receive an email notification, and you can access the API with this account."
}
[/block]

***

## Gather details for API usage

Your API connection hostname is `[Domain Prefix]-nsu.akamaihd.net`, and is found in the UI:

From the Control Center menu, click **Content delivery > Edge applications > NetStorage**.

1. Access the **Storage Groups** entity.
2. Enter your storage group name in **Filter** field.
3. Click its entry in the table to view the Storage Group Details.
4. In the Storage Group Details section, make note of the HTTP Domain Name entry. This is referred to as the "Connection Hostname" and it's used in each API call.

[block:html]
{
  "html": "<figure>\n  <img src=\"https://techdocs.akamai.com/netstorage/img/netstorage-accessmethod-usage-api_v1.png\"/>\n  <figcaption>The NetStorage HTTP Domain Name displayed for a selected Storage Group</figcaption>\n</figure>"
}
[/block]

***

## Authenticate with the Usage API

You need to follow a specific format structure to authenticate with the Usage API. It requires the including action and signature headers. See [Format an API call](https://techdocs.akamai.com/netstorage-usage/reference/format-an-api-call) for more information.

## Considerations for the Usage API

You should get familiar with the unique aspects of the [NetStorage file structure](https://techdocs.akamai.com/netstorage/docs/netstorage-file-structure).

### Local system configuration

These ports must be open on your firewall to allow the API client machine network access:

* **Outgoing Access**. Ports 80/443
* **Incoming Access**. Dynamic range on the local system

### The Usage API isn't aware of content replication

This API doesn't redirect ('chase') requests to other NetStorage replicas. This is especially important if your NetStorage configuration uses replica-specific hostnames, because you may be interacting with content that's outdated or missing. Interacting with outdated content may occur in these situations:

* If your content isn't in the initial replica region.
* If the content you're accessing isn't the most recent version.

We recommend using a delivery product when you use [NetStorage as your origin](https://techdocs.akamai.com/netstorage/docs/downloads-with-netstorage#add-netstorage-as-the-origin-for-your-property), as those requests will redirect across all NetStorage replicas of the target storage group. This ensures delivery of the freshest content even if the first delivery request goes to a replica which doesn’t yet have the data.

# Sibling pages

* [NetStorage Usage API](https://techdocs.akamai.com/netstorage-usage/reference/api.md)
* [Key concepts and terms](https://techdocs.akamai.com/netstorage-usage/reference/key-concepts-and-terms.md)
* [Parse XML responses](https://techdocs.akamai.com/netstorage-usage/reference/parse-xml-responses.md)
* [Format an API call](https://techdocs.akamai.com/netstorage-usage/reference/format-an-api-call.md)
* [Errors](https://techdocs.akamai.com/netstorage-usage/reference/errors.md)