51offer Ng Home API

H5首页控制层

Operations 11

GET /ngHome/getOfferDetail 获取offer的详细信息 #
GET /ngHome/getUserSegment getUserSegment #
HEAD /ngHome/getUserSegment getUserSegment #
POST /ngHome/getUserSegment getUserSegment #
PUT /ngHome/getUserSegment getUserSegment #
PATCH /ngHome/getUserSegment getUserSegment #
DELETE /ngHome/getUserSegment getUserSegment #
OPTIONS /ngHome/getUserSegment getUserSegment #
GET /ngHome/queryOfferInfo 查询offer信息 #
GET /ngHome/queryOfferSchoolInfo 获取offer最多的院校 #
GET /ngHome/queryRecommendedStrategy 查询热门攻略信息 #

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/51offer-nghome-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

51offer-nghome-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 51offer Horizon Site Ng Home API
  version: '1.0'
  summary: 51offer official-site (www.51offer.com) JSON API surface
  description: Machine-readable description of the public JSON API surface of 51offer's official study-abroad site (www.51offer.com).
  contact:
    name: 51offer
    email: woodrow.w@51offer.com
    url: https://www.51offer.com/
  x-provenance:
    converted-from: Swagger 1.2
    source: https://www.51offer.com/api-docs
    fetched: '2026-09-05'
servers:
- url: https://www.51offer.com
  description: '51offer official site API host. Verified live 2026-09-05: GET /ngGpaCalc/constants returned HTTP 200 application/json.'
- url: https://m.51offer.com
  description: 51offer mobile-site host. Serves the same Swagger 1.2 documents at /api-docs (HTTP 200, application/json, 2026-09-05).
tags:
- name: ngHome
  description: H5首页控制层
paths:
  /ngHome/getOfferDetail:
    get:
      operationId: getOfferDetail
      tags:
      - ngHome
      summary: 获取offer的详细信息
      description: offer详细
      parameters:
      - name: orderType
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: realName
        in: query
        required: true
        schema:
          type: string
      - name: orderId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: uid
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
  /ngHome/getUserSegment:
    get:
      operationId: getUserSegment
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    head:
      operationId: ngHome_getUserSegment_2
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    post:
      operationId: ngHome_getUserSegment_3
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    put:
      operationId: ngHome_getUserSegment_4
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    patch:
      operationId: ngHome_getUserSegment_5
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    delete:
      operationId: ngHome_getUserSegment_6
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    options:
      operationId: ngHome_getUserSegment_7
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
    trace:
      operationId: ngHome_getUserSegment_8
      tags:
      - ngHome
      summary: getUserSegment
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_SysGlobalStatus_6c6a94'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
  /ngHome/queryOfferInfo:
    get:
      operationId: queryOfferInfo
      tags:
      - ngHome
      summary: 查询offer信息
      parameters:
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
  /ngHome/queryOfferSchoolInfo:
    get:
      operationId: queryOfferSchoolInfo
      tags:
      - ngHome
      summary: 获取offer最多的院校
      parameters:
      - name: countryId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
  /ngHome/queryRecommendedStrategy:
    get:
      operationId: queryRecommendedStrategy
      tags:
      - ngHome
      summary: 查询热门攻略信息
      parameters:
      - name: countryType
        in: query
        required: true
        schema:
          type: string
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/nghome
components:
  schemas:
    HttpResult_SysGlobalStatus_6c6a94:
      type: object
      properties:
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/SysGlobalStatus'
        header:
          type: string
        page:
          $ref: '#/components/schemas/Page'
        apiInfo:
          $ref: '#/components/schemas/ApiInfo'
      x-swagger-1-2-name: HttpResult«SysGlobalStatus»
    SysGlobalStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
        gsName:
          type: string
        gsValue:
          type: integer
          format: int32
        gsViewName:
          type: string
        gsType:
          type: string
          format: byte
        gsViewGroup:
          type: integer
          format: int32
        bsId:
          type: integer
          format: int32
        gsDesc:
          type: string
      x-swagger-1-2-name: SysGlobalStatus
    Page:
      type: object
      properties:
        currPage:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        count:
          type: integer
          format: int32
        totalPage:
          type: integer
          format: int32
        hasPre:
          type: boolean
        hasNext:
          type: boolean
        pageStr:
          type: string
        startRow:
          type: integer
          format: int32
        endRow:
          type: integer
          format: int32
      x-swagger-1-2-name: Page
    ApiInfo:
      type: object
      properties:
        operationTime:
          type: string
        version:
          type: string
        hostName:
          type: string
      x-swagger-1-2-name: ApiInfo
  securitySchemes:
    tokenHeader:
      type: apiKey
      in: header
      name: token
      description: 'Session token header. Observed on live responses from https://www.51offer.com: Access-Control-Allow-Headers includes "token" and Access-Control-Expose-Headers is "token". Unauthenticated calls to public endpoints (e.g. GET /ngGpaCalc/constants) return 200; authenticated user endpoints return the envelope with a non-200 code field. 51offer publishes no developer auth documentation.'