infinihash-com Login API

The Login API from infinihash-com — 4 operation(s) for login.

Operations 5

POST /api/login Login #
GET /login Login Page Alt #
HEAD /login Login Page Alt #
POST /api/login/magic-link Request Magic Link #

Specifications

Schemas & Data

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/infinihash-com:infinihash-com-login-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

infinihash-com-login-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infinihash Auth Login API
  version: 1.0.0
tags:
- name: Login
paths:
  /api/login:
    post:
      summary: Login
      operationId: login_api_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Login
  /login:
    get:
      summary: Login Page Alt
      operationId: login_page_alt_login_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Login
    head:
      summary: Login Page Alt
      operationId: headLogin
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Login
      x-operation-id-source: normalized
      x-operation-id-original: login_page_alt_login_get
  /api/login/magic-link:
    post:
      summary: Request Magic Link
      description: Send a magic sign-in link. Always returns ok to prevent enumeration.
      operationId: request_magic_link_api_login_magic_link_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagicLinkReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Login
  /api/login/magic-link/consume:
    get:
      summary: Consume Magic Link
      description: 'Consume a magic link token: validate, set session cookie, redirect.'
      operationId: consume_magic_link_api_login_magic_link_consume_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      - name: next
        in: query
        required: false
        schema:
          type: string
          default: https://infinihash.com
          title: Next
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Login
components:
  schemas:
    LoginReq:
      properties:
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
        redirect:
          anyOf:
          - type: string
          - type: 'null'
          title: Redirect
      type: object
      required:
      - email
      - password
      title: LoginReq
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MagicLinkReq:
      properties:
        email:
          type: string
          format: email
          title: Email
        next:
          anyOf:
          - type: string
          - type: 'null'
          title: Next
      type: object
      required:
      - email
      title: MagicLinkReq
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError