ThaiProps Admin Nearby API

The admin-nearby API from ThaiProps — 15 operation(s) for admin-nearby.

GitHub OpenAPI

Operations 16

GET /admin/nearby/projects/search Search Projects For Nearby #
GET /admin/nearby/projects/needing Get Projects Needing Nearby #
GET /admin/nearby/jobs List Nearby Jobs #
POST /admin/nearby/queue/reconcile Reconcile Nearby Queue #
POST /admin/nearby/project/{project_id}/queue Queue Project Nearby #
GET /admin/nearby/stats Get Nearby Dashboard Stats #
GET /admin/nearby/project/{project_id} Get Project Nearby #
POST /admin/nearby/project/{project_id}/rerun Rerun Project Nearby #
GET /admin/nearby/places/search Search Nearby Places #
POST /admin/nearby/project/{project_id}/links Add Project Nearby Link #
GET /admin/nearby/candidates List Nearby Candidates #
POST /admin/nearby/candidates Create Nearby Candidate #
POST /admin/nearby/candidates/{candidate_id}/reject Reject Nearby Candidate #
POST /admin/nearby/candidates/{candidate_id}/approve Approve Nearby Candidate #

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/thaiprops-com:thaiprops-com-admin-nearby-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

thaiprops-com-admin-nearby-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Admin Nearby API
  version: 0.1.0
tags:
- name: admin-nearby
paths:
  /admin/nearby/projects/search:
    get:
      tags:
      - admin-nearby
      summary: Search Projects For Nearby
      operationId: search_projects_for_nearby_admin_nearby_projects_search_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          minLength: 0
          default: ''
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/projects/needing:
    get:
      tags:
      - admin-nearby
      summary: Get Projects Needing Nearby
      operationId: get_projects_needing_nearby_admin_nearby_projects_needing_get
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
          default: missing
          title: Mode
      - name: q
        in: query
        required: false
        schema:
          type: string
          minLength: 0
          default: ''
          title: Q
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/jobs:
    get:
      tags:
      - admin-nearby
      summary: List Nearby Jobs
      operationId: list_nearby_jobs_admin_nearby_jobs_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Status
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/queue/reconcile:
    post:
      tags:
      - admin-nearby
      summary: Reconcile Nearby Queue
      operationId: reconcile_nearby_queue_admin_nearby_queue_reconcile_post
      parameters:
      - name: force_review
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Force Review
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/project/{project_id}/queue:
    post:
      tags:
      - admin-nearby
      summary: Queue Project Nearby
      operationId: queue_project_nearby_admin_nearby_project__project_id__queue_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectNearbyQueueIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/stats:
    get:
      tags:
      - admin-nearby
      summary: Get Nearby Dashboard Stats
      operationId: get_nearby_dashboard_stats_admin_nearby_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/nearby/links:
    get:
      tags:
      - admin-nearby
      summary: List Nearby Links
      operationId: list_nearby_links_admin_nearby_links_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: project_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Id
      - name: category
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Category
      - name: nearby_type
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Nearby Type
      - name: max_distance_km
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Max Distance Km
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/project/{project_id}:
    get:
      tags:
      - admin-nearby
      summary: Get Project Nearby
      operationId: get_project_nearby_admin_nearby_project__project_id__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/project/{project_id}/rerun:
    post:
      tags:
      - admin-nearby
      summary: Rerun Project Nearby
      operationId: rerun_project_nearby_admin_nearby_project__project_id__rerun_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectNearbyRerunIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/places/search:
    get:
      tags:
      - admin-nearby
      summary: Search Nearby Places
      operationId: search_nearby_places_admin_nearby_places_search_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          minLength: 0
          default: ''
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/project/{project_id}/links:
    post:
      tags:
      - admin-nearby
      summary: Add Project Nearby Link
      operationId: add_project_nearby_link_admin_nearby_project__project_id__links_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualLinkIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/project/{project_id}/links/{link_id}:
    delete:
      tags:
      - admin-nearby
      summary: Delete Project Nearby Link
      operationId: delete_project_nearby_link_admin_nearby_project__project_id__links__link_id__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      - name: link_id
        in: path
        required: true
        schema:
          type: integer
          title: Link Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/candidates:
    get:
      tags:
      - admin-nearby
      summary: List Nearby Candidates
      operationId: list_nearby_candidates_admin_nearby_candidates_get
      parameters:
      - name: project_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Id
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: pending
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - admin-nearby
      summary: Create Nearby Candidate
      operationId: create_nearby_candidate_admin_nearby_candidates_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CandidateCreateIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/candidates/{candidate_id}/reject:
    post:
      tags:
      - admin-nearby
      summary: Reject Nearby Candidate
      operationId: reject_nearby_candidate_admin_nearby_candidates__candidate_id__reject_post
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CandidateRejectIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/nearby/candidates/{candidate_id}/approve:
    post:
      tags:
      - admin-nearby
      summary: Approve Nearby Candidate
      operationId: approve_nearby_candidate_admin_nearby_candidates__candidate_id__approve_post
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CandidateApproveIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CandidateCreateIn:
      properties:
        project_id:
          type: integer
          title: Project Id
        category_key:
          type: string
          title: Category Key
        suggested_name:
          type: string
          title: Suggested Name
        suggested_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Suggested Type
        suggested_distance_km:
          anyOf:
          - type: number
          - type: 'null'
          title: Suggested Distance Km
        suggested_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Suggested Reason
        source_model:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Model
        source_payload:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Source Payload
      type: object
      required:
      - project_id
      - category_key
      - suggested_name
      title: CandidateCreateIn
    ProjectNearbyRerunIn:
      properties:
        radius_km:
          anyOf:
          - type: number
          - type: 'null'
          title: Radius Km
          default: 5.0
        replace_existing:
          type: boolean
          title: Replace Existing
          default: false
      type: object
      title: ProjectNearbyRerunIn
    ManualLinkIn:
      properties:
        nearby_id:
          type: integer
          title: Nearby Id
        nearby_type:
          type: string
          title: Nearby Type
        distance_km:
          type: number
          title: Distance Km
      type: object
      required:
      - nearby_id
      - nearby_type
      - distance_km
      title: ManualLinkIn
    CandidateRejectIn:
      properties:
        reviewed_by:
          anyOf:
          - type: string
          - type: 'null'
          title: Reviewed By
      type: object
      title: CandidateRejectIn
    CandidateApproveIn:
      properties:
        nearby_id:
          type: integer
          title: Nearby Id
        nearby_type:
          type: string
          title: Nearby Type
        distance_km:
          type: number
          title: Distance Km
        reviewed_by:
          anyOf:
          - type: string
          - type: 'null'
          title: Reviewed By
      type: object
      required:
      - nearby_id
      - nearby_type
      - distance_km
      title: CandidateApproveIn
    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
    ProjectNearbyQueueIn:
      properties:
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
          default: admin_manual_queue
        reset_attempts:
          type: boolean
          title: Reset Attempts
          default: true
      type: object
      title: ProjectNearbyQueueIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError