
    <!DOCTYPE html>
    <html>
      <head>
        <title>Toolify API</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <style>
          body { font-family: system-ui, sans-serif; line-height: 1.6; max-width: 800px; margin: 0 auto; padding: 20px; }
          pre { background: #f4f4f4; padding: 10px; border-radius: 5px; overflow-x: auto; }
          code { background: #f4f4f4; padding: 2px 4px; border-radius: 3px; }
        </style>
      </head>
      <body>
        <h1>Toolify API</h1>
        <p>这是一个提供 Toolify 工具数据查询的 API。</p>
        
        <h2>API 端点</h2>
        <h3>查询工具</h3>
        <pre>GET /api/lookup?domain={domain}</pre>
        <p>根据域名查询工具信息。</p>
        
        <h4>参数</h4>
        <ul>
          <li><code>domain</code>: 要查询的域名（必填）</li>
        </ul>
        
        <h4>示例</h4>
        <pre>GET /api/lookup?domain=example.com</pre>
        
        <h4>响应</h4>
        <pre>
{
  "success": true,
  "data": {
    "id": 123,
    "handle": "example-tool",
    "name": "Example Tool",
    "website": "https://example.com",
    "clean_website": "https://example.com",
    "domain": "example.com",
    "description": "这是一个示例工具",
    "image": "https://example.com/image.jpg",
    "website_logo": "https://example.com/logo.jpg",
    "created_at": "2023-01-01 00:00:00",
    "categories": [
      {
        "handle": "ai-tool",
        "name": "AI Tool"
      }
    ]
  }
}
        </pre>
      </body>
    </html>
    