# API Authentication & Rate Limit

### Base URL

All API requests are made to the following base URL:

> <mark style="color:orange;">`https://api.dapplooker.com/v1`</mark>

### **Authentication**

This endpoint supports **two authentication methods**:

<table data-header-hidden><thead><tr><th width="254.30078125"></th><th></th></tr></thead><tbody><tr><td><strong>Method</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>API Key</strong></td><td>Provide your Loky API key using the <mark style="color:orange;"><code>api_key</code></mark> parameter for authenticated access.</td></tr><tr><td><strong>x402 Payment Protocol</strong></td><td>If <mark style="color:orange;"><code>api_key</code></mark> is not provided, the request automatically uses the <a href="https://x402.gitbook.io/x402">x402 protocol</a> for on-chain payment verification.</td></tr></tbody></table>

> #### 💡 **Tips**&#x20;
>
> * To get access to your API key, please reach out to the [**DappLooker**](https://dapplooker.com/) team&#x20;
> * For seamless integration, user can follow the [**x402 Quickstart Guide for Buyers**](https://x402.gitbook.io/x402/getting-started/quickstart-for-buyers).

### Status Codes

| Code                    | Description                                                                          |
| ----------------------- | ------------------------------------------------------------------------------------ |
| 200 (Successful)        | Returned when the request is successful                                              |
| 400 (Bad Request)       | Invalid request and the server could not process the user's request                  |
| 401 (Unauthorized)      | Invalid API key for the requested resource by the user                               |
| 402 (Payment Required)  | Uses the [x402 protocol](https://x402.gitbook.io/x402) for on-chain payment required |
| 423 (Too many requests) | Likely indicating that the rate limit has reached                                    |

### Rate Limit

* Default Rate Limit: 100 calls per minute.
* Can be configured based on subscription tier you chose
