# Creative Tim ShadCN UI Block Fetcher

> Creative Tim ShadCN UI Block Fetcher is a paid API for AI agents from x402.creative-tim.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches ready-to-use ShadCN UI component blocks and templates (e.g. testimonials, CRUD layouts) by name, returning full React/TypeScript source code

## Facts

- Endpoint: GET https://x402.creative-tim.com/api/shadcn-block
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-creative-tim-com-83a735f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RsAMNQQsWsQ-Wa0COvlIG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-creative-tim-com-83a735f5
```

Example prompt: Can you grab the 'testimonials-02' ShadCN UI block from Creative Tim so I can drop it into my Next.js project?

## When to prefer this

Use this endpoint when you need production-ready ShadCN UI component blocks (testimonials, CRUD layouts, etc.) with full React/TypeScript source code for Next.js apps, especially when you want Creative Tim's curated block library rather than writing components from scratch.

## Known failure modes

- Invalid or unknown block_name returns an error or empty result
- Missing required query parameter defaults to 'testimonials-02' block
- Network or payment failure returns a non-200 response
- Block name typo (e.g. 'testimonial-02' vs 'testimonials-02') may return no result

## How this service works

Get ShadCN UI component blocks and templates

## Output

Returns a JSON object containing the full React/TypeScript source code for the requested ShadCN UI component block, a ready-to-use page wrapper file, the file paths to place them, success status, and the price paid ($0.01 USDC).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "block_name": "testimonials-02"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "block_name": {
       "type": "string",
       "description": "Name of the block to fetch (e.g., testimonials-02, cruds-01). Defaults to testimonials-02 if not provided."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-creative-tim-com-83a735f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.creative-tim.com](https://www.zero.xyz/host/x402.creative-tim.com/llms.txt)
