> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Project

> Create a project in the connected Ahrefs workspace for a domain or URL (the same project powers Rank Tracker and Site Audit), with access level, owner and folder

Create a project in the connected Ahrefs workspace for a domain or URL (the same project powers Rank Tracker and Site Audit), with access level, owner and folder. Free: does not consume API units, but projects count against the Ahrefs plan's project quota. Then add keywords with ahrefs\_manage\_tracked\_keywords.

| | |
| - | - |
| **App** | Ahrefs |
| **Operation ID** | `ahrefs_create_project` |
| **Type** | Action |
| **Connection** | `ahrefs` (required) |
| **Credits per run** | Free |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `project_name` | string | Yes | - | Name of the new project. |
| `url` | string | Yes | - | Target domain or URL of the project (e.g. example.com). |
| `mode` | string or SelectableOption | No | `subdomains` | How the target is interpreted: 'subdomains' (default), 'domain', 'prefix' or 'exact'. |
| `protocol` | string or SelectableOption | No | `both` | Protocol of the target: 'both' (default), 'https' or 'http'. |
| `access` | string or SelectableOption | No | `shared` | 'shared' (default) makes the project visible to the whole Ahrefs workspace; 'private' only to its owner. |
| `owned_by` | string | No | - | Email of the Ahrefs workspace member who should own the project. Defaults to the workspace owner. |
| `folder_id` | integer | No | - | Folder to place the project in (the id in the Ahrefs folder URL). Leave empty for no folder. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `List[Dict]`

Returns the created project: project\_id, project\_name, url, mode, protocol, access, verified, folder, owned\_by, keyword\_count, web\_analytics\_data\_key.

**Fields**: `project_id`, `project_name`, `url`, `mode`, `protocol`, `access`, `verified`, `folder`, `owned_by`, `keyword_count`

**Example**:

```json theme={"dark"}
[
  {
    "project_id": "8123456",
    "project_name": "Client A",
    "url": "clienta.com/",
    "mode": "subdomains",
    "protocol": "both",
    "access": "shared"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.