Nomas Auth API

The auth API from Nomas — 25 operation(s) for auth.

GitHub OpenAPI

Operations 27

GET /api/v1/auth/account/status/ Auth account status retrieve #
POST /api/v1/auth/api-keys/ Auth api keys create #
DELETE /api/v1/auth/api-keys/{key_id}/revoke/ Auth api keys revoke destroy #
GET /api/v1/auth/api-keys/{key_id}/stats/ Auth api keys stats retrieve #
GET /api/v1/auth/api-keys/info/ Auth api keys info retrieve #
GET /api/v1/auth/api-keys/list/ Auth api keys list retrieve #
POST /api/v1/auth/google/ Auth google create #
POST /api/v1/auth/login/ Auth login create #
POST /api/v1/auth/logout/ Auth logout create #
POST /api/v1/auth/password/change/ Auth password change create #
POST /api/v1/auth/password/reset/ Auth password reset create #
POST /api/v1/auth/password/reset/confirm/ Auth password reset confirm create #
POST /api/v1/auth/registration/ Auth registration create #
POST /api/v1/auth/registration/account-confirm-email/{key}/ Auth registration account confirm email create #
POST /api/v1/auth/registration/resend-email/ Auth registration resend email create #
POST /api/v1/auth/resend-code/ Auth resend code create #
GET /api/v1/auth/sessions/ Auth sessions retrieve #
POST /api/v1/auth/sessions/deactivate/ Auth sessions deactivate create #
POST /api/v1/auth/sessions/deactivate-others/ Auth sessions deactivate others create #
POST /api/v1/auth/token/refresh/ Auth token refresh create #
POST /api/v1/auth/token/verify/ Auth token verify create #
GET /api/v1/auth/user/ Auth user retrieve #
PUT /api/v1/auth/user/ Auth user update #
PATCH /api/v1/auth/user/ Auth user partial update #
POST /api/v1/auth/verify-code/ Auth verify code create #

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/nomas-fyi:nomas-fyi-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

nomas-fyi-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nomas Auth API
  version: 1.1.0
  description: 'Financial data API for SEC company facts, insider trading, FTD, Form 13F, parsed company filings, exports, and agent tool schemas.


    Authenticate with the `X-API-Key` header. Use `/api/schema/` for the full OpenAPI document and `/api/v1/ai/tools.json` for a trimmed agent tool catalog.'
tags:
- name: Auth
paths:
  /api/v1/auth/account/status/:
    get:
      operationId: auth_account_status_retrieve
      description: Get current account status including lockout information.
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth account status retrieve
      x-summary-source: derived
  /api/v1/auth/api-keys/:
    post:
      operationId: auth_api_keys_create
      description: Create API key for authenticated users (based on subscription)
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth api keys create
      x-summary-source: derived
  /api/v1/auth/api-keys/{key_id}/revoke/:
    delete:
      operationId: auth_api_keys_revoke_destroy
      description: Revoke (delete) API key
      parameters:
      - in: path
        name: key_id
        schema:
          type: integer
        required: true
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '204':
          description: No response body
      summary: Auth api keys revoke destroy
      x-summary-source: derived
  /api/v1/auth/api-keys/{key_id}/stats/:
    get:
      operationId: auth_api_keys_stats_retrieve
      description: Get API key usage statistics
      parameters:
      - in: path
        name: key_id
        schema:
          type: integer
        required: true
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth api keys stats retrieve
      x-summary-source: derived
  /api/v1/auth/api-keys/info/:
    get:
      operationId: auth_api_keys_info_retrieve
      description: Get information about current API key (for API users)
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Auth api keys info retrieve
      x-summary-source: derived
  /api/v1/auth/api-keys/list/:
    get:
      operationId: auth_api_keys_list_retrieve
      description: List user's API keys
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth api keys list retrieve
      x-summary-source: derived
  /api/v1/auth/google/:
    post:
      operationId: auth_google_create
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Auth google create
      x-summary-source: derived
  /api/v1/auth/login/:
    post:
      operationId: auth_login_create
      description: Override post method to handle account lockout and IP verification
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomLoginRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomLoginRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CustomLoginRequest'
        required: true
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomLogin'
          description: ''
      summary: Auth login create
      x-summary-source: derived
  /api/v1/auth/logout/:
    post:
      operationId: auth_logout_create
      description: Logout view that deactivates the current session and performs cleanup
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth logout create
      x-summary-source: derived
  /api/v1/auth/mcp-oauth/consent/:
    get:
      operationId: auth_mcp_oauth_consent_retrieve
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth mcp oauth consent retrieve
      x-summary-source: derived
  /api/v1/auth/mcp-oauth/consent/decide/:
    post:
      operationId: auth_mcp_oauth_consent_decide_create
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth mcp oauth consent decide create
      x-summary-source: derived
  /api/v1/auth/password/change/:
    post:
      operationId: auth_password_change_create
      description: API view for changing password.
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth password change create
      x-summary-source: derived
  /api/v1/auth/password/reset/:
    post:
      operationId: auth_password_reset_create
      description: 'Calls Django Auth PasswordResetForm save method.


        Accepts the following POST parameters: email

        Returns the success/fail message.'
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomPasswordResetRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomPasswordResetRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CustomPasswordResetRequest'
        required: true
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAuthDetail'
          description: ''
      summary: Auth password reset create
      x-summary-source: derived
  /api/v1/auth/password/reset/confirm/:
    post:
      operationId: auth_password_reset_confirm_create
      description: API view for confirming a password reset.
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth password reset confirm create
      x-summary-source: derived
  /api/v1/auth/registration/:
    post:
      operationId: auth_registration_create
      description: Custom registration view that includes session management
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomRegisterRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomRegisterRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CustomRegisterRequest'
        required: true
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomRegister'
          description: ''
      summary: Auth registration create
      x-summary-source: derived
  /api/v1/auth/registration/account-confirm-email/{key}/:
    post:
      operationId: auth_registration_account_confirm_email_create
      description: Confirm email address
      parameters:
      - in: path
        name: key
        schema:
          type: string
        required: true
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Auth registration account confirm email create
      x-summary-source: derived
  /api/v1/auth/registration/resend-email/:
    post:
      operationId: auth_registration_resend_email_create
      description: Resend email confirmation with a fresh key
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth registration resend email create
      x-summary-source: derived
  /api/v1/auth/resend-code/:
    post:
      operationId: auth_resend_code_create
      description: Resend verification code for login.
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Auth resend code create
      x-summary-source: derived
  /api/v1/auth/sessions/:
    get:
      operationId: auth_sessions_retrieve
      description: Get all active sessions for the current user
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth sessions retrieve
      x-summary-source: derived
  /api/v1/auth/sessions/deactivate/:
    post:
      operationId: auth_sessions_deactivate_create
      description: Deactivate a specific session
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth sessions deactivate create
      x-summary-source: derived
  /api/v1/auth/sessions/deactivate-others/:
    post:
      operationId: auth_sessions_deactivate_others_create
      description: Deactivate all other sessions except the current one
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth sessions deactivate others create
      x-summary-source: derived
  /api/v1/auth/token/refresh/:
    post:
      operationId: auth_token_refresh_create
      description: 'Takes a refresh type JSON web token and returns an access type JSON web

        token if the refresh token is valid.'
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenRefreshRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TokenRefreshRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TokenRefreshRequest'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenRefresh'
          description: ''
      summary: Auth token refresh create
      x-summary-source: derived
  /api/v1/auth/token/verify/:
    post:
      operationId: auth_token_verify_create
      description: 'Takes a token and indicates if it is valid. This view provides no

        information about a token''s fitness for a particular use.'
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenVerifyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TokenVerifyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TokenVerifyRequest'
        required: true
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth token verify create
      x-summary-source: derived
  /api/v1/auth/user/:
    get:
      operationId: auth_user_retrieve
      description: Get current user details
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth user retrieve
      x-summary-source: derived
    put:
      operationId: auth_user_update
      description: 'Reads and updates UserModel fields

        Accepts GET, PUT, PATCH methods.


        Default accepted fields: username, first_name, last_name

        Default display fields: pk, username, email, first_name, last_name

        Read-only fields: pk, email


        Returns UserModel fields.'
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomUserDetailsRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomUserDetailsRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CustomUserDetailsRequest'
        required: true
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomUserDetails'
          description: ''
      summary: Auth user update
      x-summary-source: derived
    patch:
      operationId: auth_user_partial_update
      description: Update user details including business name
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: No response body
      summary: Auth user partial update
      x-summary-source: derived
  /api/v1/auth/verify-code/:
    post:
      operationId: auth_verify_code_create
      description: Verify login verification code.
      tags:
      - Auth
      security:
      - jwtAuth: []
      - tokenAuth: []
      - ApiKeyAuth: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Auth verify code create
      x-summary-source: derived
components:
  schemas:
    CustomUserDetails:
      type: object
      properties:
        email:
          type: string
          format: email
          readOnly: true
          title: Email address
        first_name:
          type: string
          maxLength: 150
        last_name:
          type: string
          maxLength: 150
        is_active:
          type: boolean
        is_subscribed:
          type: boolean
        is_business:
          type: boolean
        business_name:
          type:
          - string
          - 'null'
          maxLength: 200
        email_verified:
          type: string
          readOnly: true
      required:
      - email
      - email_verified
      - first_name
      - last_name
    CustomLoginRequest:
      type: object
      properties:
        email:
          type: string
          format: email
          minLength: 1
        password:
          type: string
          minLength: 1
      required:
      - email
      - password
    CustomUserDetailsRequest:
      type: object
      properties:
        first_name:
          type: string
          minLength: 1
          maxLength: 150
        last_name:
          type: string
          minLength: 1
          maxLength: 150
        is_active:
          type: boolean
        is_subscribed:
          type: boolean
        is_business:
          type: boolean
        business_name:
          type:
          - string
          - 'null'
          maxLength: 200
      required:
      - first_name
      - last_name
    CustomRegister:
      type: object
      properties:
        email:
          type: string
          format: email
        first_name:
          type: string
        last_name:
          type: string
      required:
      - email
      - first_name
      - last_name
    TokenRefreshRequest:
      type: object
      properties:
        refresh:
          type: string
          writeOnly: true
          minLength: 1
      required:
      - refresh
    CustomLogin:
      type: object
      properties:
        email:
          type: string
          format: email
        password:
          type: string
      required:
      - email
      - password
    RestAuthDetail:
      type: object
      properties:
        detail:
          type: string
          readOnly: true
      required:
      - detail
    TokenRefresh:
      type: object
      properties:
        access:
          type: string
          readOnly: true
      required:
      - access
    CustomPasswordResetRequest:
      type: object
      description: Serializer for requesting a password reset e-mail.
      properties:
        email:
          type: string
          format: email
          minLength: 1
      required:
      - email
    TokenVerifyRequest:
      type: object
      properties:
        token:
          type: string
          writeOnly: true
          minLength: 1
      required:
      - token
    CustomRegisterRequest:
      type: object
      properties:
        email:
          type: string
          format: email
          minLength: 1
        password1:
          type: string
          writeOnly: true
          minLength: 1
        password2:
          type: string
          writeOnly: true
          minLength: 1
        first_name:
          type: string
          minLength: 1
        last_name:
          type: string
          minLength: 1
        recaptcha_token:
          type: string
          writeOnly: true
          minLength: 1
      required:
      - email
      - first_name
      - last_name
      - password1
      - password2
      - recaptcha_token
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key from Account Management
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"