searchpipe-tech Auth API

The auth API from searchpipe-tech — 12 operation(s) for auth.

Operations 12

POST /auth/register Register #
POST /auth/login Login #
POST /auth/refresh Refresh #
POST /auth/forgot-password Forgot Password #
POST /auth/reset-password Reset Password #
GET /auth/oauth/github Oauth Github #
GET /auth/oauth/github/callback Oauth Github Callback #
GET /auth/oauth/google Oauth Google #
GET /auth/oauth/google/callback Oauth Google Callback #
GET /auth/verify-email Verify Email #
POST /auth/resend-verification Resend Verification #
GET /auth/me Me #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/searchpipe-tech:searchpipe-tech-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

searchpipe-tech-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SearchPipe Auth API
  version: 0.2.0
tags:
- name: Auth
paths:
  /auth/register:
    post:
      tags:
      - Auth
      summary: Register
      description: '邮箱+密码注册。注册即签发 token 并赠送免费额度,同时发送邮箱验证邮件。


        支持邀请码:填写有效邀请码时,邀请方和被邀请方各获得永久积分奖励。

        注册前过每 IP 发信频控(register_ip_hourly_limit,0=关闭)——注册会对

        任意邮箱真实外发验证邮件,必须防批量假邮箱注册刷外发。'
      operationId: register_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/login:
    post:
      tags:
      - Auth
      summary: Login
      description: 邮箱+密码登录。登录成功即续发「每月免费额度」(已验证邮箱用户,同月一次)。
      operationId: login_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/refresh:
    post:
      tags:
      - Auth
      summary: Refresh
      description: refresh token → 新 access + refresh。
      operationId: refresh_auth_refresh_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/forgot-password:
    post:
      tags:
      - Auth
      summary: Forgot Password
      description: 忘记密码:存在则发重置邮件。无论邮箱是否注册都返回同一话术(防枚举)。
      operationId: forgot_password_auth_forgot_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Forgot Password Auth Forgot Password Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/reset-password:
    post:
      tags:
      - Auth
      summary: Reset Password
      description: 一次性 token + 新密码 → 重置。token 无效/过期/复用均 400。
      operationId: reset_password_auth_reset_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Reset Password Auth Reset Password Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/oauth/github:
    get:
      tags:
      - Auth
      summary: Oauth Github
      description: 跳转到 GitHub 授权页。state 防 CSRF,存 Redis。
      operationId: oauth_github_auth_oauth_github_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /auth/oauth/github/callback:
    get:
      tags:
      - Auth
      summary: Oauth Github Callback
      description: GitHub 回调 → 换 token → 建/绑账号 → 签发 JWT → 302 带 token 回 dashboard。
      operationId: oauth_github_callback_auth_oauth_github_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/oauth/google:
    get:
      tags:
      - Auth
      summary: Oauth Google
      description: 跳转到 Google 授权页。state 防 CSRF,存 Redis。
      operationId: oauth_google_auth_oauth_google_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /auth/oauth/google/callback:
    get:
      tags:
      - Auth
      summary: Oauth Google Callback
      description: Google 回调 → 换 token → 建/绑账号 → 签发 JWT → 302 带 token 回 dashboard。
      operationId: oauth_google_callback_auth_oauth_google_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/verify-email:
    get:
      tags:
      - Auth
      summary: Verify Email
      description: 验证邮箱链接。成功 → 302 到登录页带提示;失败 → 302 到登录页带错误提示。
      operationId: verify_email_auth_verify_email_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/resend-verification:
    post:
      tags:
      - Auth
      summary: Resend Verification
      description: 重新发送验证邮件(需登录)。
      operationId: resend_verification_auth_resend_verification_post
      security:
      - HTTPBearer: []
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Resend Verification Auth Resend Verification Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/me:
    get:
      tags:
      - Auth
      summary: Me
      description: 返回当前登录用户信息。
      operationId: me_auth_me_get
      security:
      - HTTPBearer: []
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TokenResponse:
      properties:
        access_token:
          type: string
          title: Access Token
        refresh_token:
          type: string
          title: Refresh Token
        token_type:
          type: string
          title: Token Type
          default: bearer
      type: object
      required:
      - access_token
      - refresh_token
      title: TokenResponse
    RegisterRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          maxLength: 128
          minLength: 8
          title: Password
        invitation_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Invitation Code
          description: 邀请码(可选)
      type: object
      required:
      - email
      - password
      title: RegisterRequest
    RefreshRequest:
      properties:
        refresh_token:
          type: string
          title: Refresh Token
      type: object
      required:
      - refresh_token
      title: RefreshRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ForgotPasswordRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: ForgotPasswordRequest
    ResetPasswordRequest:
      properties:
        token:
          type: string
          title: Token
        new_password:
          type: string
          maxLength: 128
          minLength: 8
          title: New Password
      type: object
      required:
      - token
      - new_password
      title: ResetPasswordRequest
    UserInfo:
      properties:
        id:
          type: string
          title: Id
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        phone:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone
        role:
          type: string
          title: Role
        email_verified:
          type: boolean
          title: Email Verified
          default: false
      type: object
      required:
      - id
      - role
      title: UserInfo
    LoginRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer