# API Overview

#### Introduction

The TAGBASE API enables developers to:

* **Query claims** — Retrieve claims associated with URLs
* **Fetch verifications** — Get verification details by ID
* **Initiate ownership challenges** — Request wallet signature verification
* **Submit ownership proofs** — Validate blockchain ownership

***

#### Base URL

```
https://api.extension.tagbase.io
```

***

#### Authentication

**No authentication required.** The TAGBASE API is fully public and accessible without API keys.

***

#### CORS Support

The API supports cross-origin requests from any domain:

```
Access-Control-Allow-Origin: *
```

***

#### Response Format

All responses are JSON:

**Success Response:**

```json
{
  "claims": [ ... ]
}
```

**Error Response:**

```json
{
  "error": "resource_url is required"
}
```

***

#### Core Endpoints

| Endpoint                  | Method | Description                 |
| ------------------------- | ------ | --------------------------- |
| /claims?resource\_url=... | GET    | Get claims for a URL        |
| /verifications/{id}       | GET    | Get verification by ID      |
| /ownership/challenge      | POST   | Request ownership challenge |
| /ownership/proof/ethereum | POST   | Submit Ethereum proof       |
| /ownership/proof/cardano  | POST   | Submit Cardano proof        |

***

#### Quick Start Examples

**Fetch Claims for a URL:**

```bash
curl "https://api.extension.tagbase.io/claims?resource_url=https://example.com/product"
```

**Fetch a Verification:**

```bash
curl "https://api.extension.tagbase.io/verifications/VRF_abc123def456"
```

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tagbase.io/extension/api-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
