openapi: "3.1.0"
info:
  title: "九游体育页面官方网站-九游中国 — Bilarna Provider API"
  version: "1.0.0"
  description: |
    Machine-readable API for interacting with 九游体育页面官方网站-九游中国 on the Bilarna B2B network.
    〖九游体育官方网站〗〖九游体育最新官网〗为您提供一个充满乐趣的游戏平台，让您体验到多种游戏的乐趣。我们不断更新和提升游戏品质，确保每位玩家都能在这里找到适合自己的选择。作为九游体育最新官方网站的一部分，我们关注用户的需求，努力创建一个安全、有趣的社区，让每位玩家留恋在此，享受游戏带来的欢乐与灵感。
    Services offered: Custom Game Development.
  contact:
    name: "九游体育页面官方网站-九游中国"
    url: "https://bilarna.com/provider/wydmnl"
  x-provider:
    slug: "wydmnl"
    verified: true
    accepts_meetings: false
    logo: "https://wydmnl.com/tianmu0315/uploads/20220315/3d0b85294bad3e3e259c151e76cd8373.svg"


servers:
  - url: "https://api.bilarna.com/api"
    description: Bilarna API

paths:
  /agent/match:
    post:
      operationId: bilarna_match
      summary: Find matching providers by service need
      description: |
        Returns a ranked list of providers (business_id, score, description).
        Use the returned business_id with /agent/request to submit a
        service request to 九游体育页面官方网站-九游中国 (business_id from match results).
      parameters:
        - name: api-version
          in: query
          required: true
          schema:
            type: string
            default: "1.0"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: [need]
              properties:
                need:
                  type: string
                  description: Free-text service description
                  example: "Custom Game Development"
      responses:
        "200":
          description: Matched providers
          content:
            application/json:
              schema:
                type: object
                properties:
                  matchRequestId:
                    type: integer
                  candidates:
                    type: array
                    items:
                      type: object
                      properties:
                        business_id:
                          type: integer
                        score:
                          type: number
                        description:
                          type: string

  /agent/request:
    post:
      operationId: bilarna_request
      summary: Submit a service request to a provider
      description: |
        Sends a service request. When business_id is provided the request
        goes directly to that provider; otherwise Bilarna matches the
        request to relevant providers automatically.
      parameters:
        - name: api-version
          in: query
          required: true
          schema:
            type: string
            default: "1.0"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: [need, contact_name, email]
              properties:
                business_id:
                  type: integer
                  description: Target provider ID (from bilarna_match)
                  nullable: true
                need:
                  type: string
                  description: Free-text description of the service need
                contact_name:
                  type: string
                  description: Full name of the decision-maker
                email:
                  type: string
                  format: email
                  description: Business email for lead routing
                phone:
                  type: string
                  description: Business phone number (optional)
                category:
                  type: string
                  description: Service category
                country:
                  type: string
                  description: Provider country preference
                budget_max:
                  type: number
                  description: Maximum project budget in USD
      responses:
        "200":
          description: Request created
          content:
            application/json:
              schema:
                type: object
                properties:
                  matchRequestId:
                    type: integer
                  business_id:
                    type: integer
                  lead:
                    type: object
                    properties:
                      contactName:
                        type: string
                      email:
                        type: string
                      phone:
                        type: string
