Deel Knowledge Hub API

API endpoints related to Knowledge Hub.

Operations 1

GET /knowledge-hub/country-guide/{country_code} Get Knowledge Hub Country Guides by Country Code #

Documentation

📖
Documentation
https://developer.deel.com/api/introduction
📖
GettingStarted
https://developer.deel.com/api/quickstart
📖
Authentication
https://developer.deel.com/api/authentication
📖
Documentation
https://developer.deel.com/api/employer-of-record/introduction
📖
Documentation
https://developer.deel.com/api/employer-of-record/employment-cost-calculator
📖
Documentation
https://developer.deel.com/api/employer-of-record/hiring
📖
Documentation
https://developer.deel.com/api/employer-of-record/accept-quote
📖
Documentation
https://developer.deel.com/api/contractors/introduction
📖
Documentation
https://developer.deel.com/api/contractors/invoice-adjustments
📖
Documentation
https://developer.deel.com/api/contractors/timesheets
📖
Documentation
https://developer.deel.com/api/global-payroll/introduction
📖
Documentation
https://developer.deel.com/api/global-payroll/time-tracking
📖
Documentation
https://developer.deel.com/api/global-payroll/adjustments
📖
Documentation
https://developer.deel.com/api/hris/introduction
📖
Documentation
https://developer.deel.com/api/scim-api/overview
📖
Documentation
https://developer.deel.com/api/hris-common-use-cases/sync-deel-users-to-identity-providers
📖
Documentation
https://developer.deel.com/api/ats-guides/introduction
📖
Documentation
https://developer.deel.com/api/ats-guides/getting-started
📖
Documentation
https://developer.deel.com/api/ats-guides/manage-jobs
📖
Documentation
https://developer.deel.com/api/ats-guides/manage-candidates-and-applications
📖
Documentation
https://developer.deel.com/api/ats-guides/webhooks
📖
Documentation
https://developer.deel.com/api/webhooks/introduction
📖
Documentation
https://developer.deel.com/api/webhooks/quickstart
📖
Documentation
https://developer.deel.com/api/webhooks/events
📖
Documentation
https://developer.deel.com/api/webhooks/simulations
📖
Documentation
https://developer.deel.com/api/platform/screenings
📖
Documentation
https://developer.deel.com/api/platform/immigration
📖
Documentation
https://developer.deel.com/api/deel-it/getting-started/introduction
📖
Documentation
https://developer.deel.com/
📖
APIReference
https://developer.deel.com/reference

Specifications

Schemas & Data

Other Resources

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/deel-com:deel-com-knowledgehub-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

deel-com-knowledgehub-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Endpoints Knowledge Hub API
  version: 1.0.0
  description: API endpoints related to Knowledge Hub.
servers:
- url: https://api.letsdeel.com/rest
  description: Production
- url: https://api-staging.letsdeel.com/rest
  description: Demo
- url: https://api.letsdeel.com/scim/v2
  description: Production
- url: https://api-staging.letsdeel.com/scim/v2
  description: Demo
tags:
- name: knowledgeHub
  description: API endpoints related to Knowledge Hub.
paths:
  /knowledge-hub/country-guide/{country_code}:
    get:
      operationId: knowledgeHub_getKnowledgeHubCountryGuidesByCountryCode-v2026-01-01
      summary: Get Knowledge Hub Country Guides by Country Code
      description: 'Returns country guides segmented by audience and contract type for the specified `country_code`.


        **Token scopes**: `knowledge-hub:read`'
      tags:
      - knowledgeHub
      parameters:
      - name: country_code
        in: path
        description: Country code for which we need to fetch the country guides
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response containing audiences, their contract types, and associated categories, fields, and articles.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Knowledge_Hub_getKnowledgeHubCountryGuidesByCountryCode-v2026-01-01_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestInternalServerError'
      security:
      - deelToken: []
components:
  schemas:
    ? KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsTagsItems
    : type: object
      properties:
        id:
          type: string
          description: ID for the tag
        tag:
          type: string
          description: Slug for the tag
        title:
          type: string
          description: Title of the tag
      required:
      - id
      - tag
      - title
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsTagsItems
    GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestInternalServerError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems'
      title: GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestInternalServerError
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItems:
      type: object
      properties:
        name:
          type: string
          description: The user friendly name of the contract type
        value:
          type: string
          description: Identifier or key representing the contract type in lowercase.
        categories:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItems'
          description: List of categories applicable to this audience.
      required:
      - name
      - value
      - categories
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItems
    GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestBadRequestError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems'
      title: GetKnowledgeHubCountryGuidesByCountryCode-v2026-01-01RequestBadRequestError
    Knowledge_Hub_getKnowledgeHubCountryGuidesByCountryCode-v2026-01-01_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItems'
          description: List of different audiences with associated categories and contract types.
        has_more:
          type: boolean
          description: Indicates if there are more items to fetch.
        next_cursor:
          type:
          - string
          - 'null'
          description: Cursor for the next page of results
        total_count:
          type: number
          format: double
          description: Total number of audiences
      title: Knowledge Hub_getKnowledgeHubCountryGuidesByCountryCode-v2026-01-01_Response_200
    ? KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItems
    : type: object
      properties:
        id:
          type: string
          description: ID of the field
        name:
          type: string
          description: Title of the field
        type:
          $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItemsType'
          description: Type of the field, can contain text, link or html
        value:
          type:
          - string
          - 'null'
          description: The value associated for the field
      required:
      - id
      - name
      - type
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItemsType:
      type: string
      enum:
      - TEXT
      - LINK
      - HTML
      description: Type of the field, can contain text, link or html
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItemsType
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItems:
      type: object
      properties:
        id:
          type: string
          description: ID for the article
        tags:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsTagsItems'
          description: Array of tags inside an article
        type:
          $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsType'
          description: The type of the article, can contain knowledge or compliance
        title:
          type: string
          description: Title of the article
        created_at:
          type: string
          format: date-time
          description: The timestamp when the article was created
        updated_at:
          type: string
          format: date-time
          description: The timestamp when the article was last updated
        description:
          type: string
          description: An excerpt for the article
        effective_date:
          type:
          - string
          - 'null'
          format: date
          description: The date when the article will be effective, meaning the content inside it becomes effective in the real world)
        featured_image:
          type: string
          format: uri
          description: The featured image for the article
      required:
      - id
      - tags
      - type
      - title
      - created_at
      - updated_at
      - description
      - featured_image
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItems:
      type: object
      properties:
        id:
          type: string
          description: ID for the category
        icon:
          type: string
          description: Icon aligning with the category
        name:
          type: string
          description: Display name of the category
        fields:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItems'
          description: An array of informative fields and it's value that the category contains
        articles:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItems'
          description: An array of articles that are connected to this category
      required:
      - id
      - icon
      - name
      - fields
      - articles
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItems:
      type: object
      properties:
        id:
          type: string
          description: ID of the field
        name:
          type: string
          description: Title of the field
        type:
          $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItemsType'
          description: Type of the field, can contain text, link or html
        value:
          type:
          - string
          - 'null'
          description: The value associated for the field
      required:
      - id
      - name
      - type
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsType:
      type: string
      enum:
      - KNOWLEDGE
      - COMPLIANCE
      description: The type of the article, can contain knowledge or compliance
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsType
    ApiErrorRequest:
      type: object
      properties:
        method:
          type: string
          description: The HTTP method of the failed request
        url:
          type: string
          description: The relative URL of the failed request
        status:
          type: number
          format: double
          description: The status code of the response
        api_req_id:
          type: string
          description: The request ID of the failed request
        docs:
          type: string
          description: A link to the official documentation for the requested endpoint resource
        source:
          type: string
          description: The source handler which produced the returned error
        code:
          type: number
          format: double
          description: The code of the source handler which produced the returned error
      title: ApiErrorRequest
    ApiErrorContainer:
      type: object
      properties:
        request:
          $ref: '#/components/schemas/ApiErrorRequest'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
      title: ApiErrorContainer
    ApiError:
      type: object
      properties:
        message:
          type: string
          description: A description of the returned error
        path:
          type: string
          description: The JSON path where input validation failed
      title: ApiError
    ? KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItems
    : type: object
      properties:
        id:
          type: string
          description: ID for the article
        tags:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsTagsItems'
          description: Array of tags inside an article
        type:
          $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsType'
          description: The type of the article, can contain knowledge or compliance
        title:
          type: string
          description: Title of the article
        created_at:
          type: string
          format: date-time
          description: The timestamp when the article was created
        updated_at:
          type: string
          format: date-time
          description: The timestamp when the article was last updated
        description:
          type: string
          description: An excerpt for the article
        effective_date:
          type:
          - string
          - 'null'
          format: date
          description: The date when the article will be effective, meaning the content inside it becomes effective in the real world)
        featured_image:
          type: string
          format: uri
          description: The featured image for the article
      required:
      - id
      - tags
      - type
      - title
      - created_at
      - updated_at
      - description
      - featured_image
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsTagsItems:
      type: object
      properties:
        id:
          type: string
          description: ID for the tag
        tag:
          type: string
          description: Slug for the tag
        title:
          type: string
          description: Title of the tag
      required:
      - id
      - tag
      - title
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItemsTagsItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItems:
      type: object
      properties:
        id:
          type: string
          description: ID for the category
        icon:
          type: string
          description: Icon aligning with the category
        name:
          type: string
          description: Display name of the category
        fields:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsFieldsItems'
          description: An array of informative fields and it's value that the category contains
        articles:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItemsArticlesItems'
          description: An array of articles that are connected to this category
      required:
      - id
      - icon
      - name
      - fields
      - articles
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItems
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        name:
          type: string
          description: Display name of the audience.
        value:
          type: string
          description: Identifier or key representing the audience in lowercase.
        categories:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsCategoriesItems'
          description: List of categories applicable to this audience.
        contract_types:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItems'
          description: List of contract types available for this audience.
      required:
      - name
      - value
      description: Represents a specific audience such as Contractor, Client, or Employee.
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItems
    ? KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsType
    : type: string
      enum:
      - KNOWLEDGE
      - COMPLIANCE
      description: The type of the article, can contain knowledge or compliance
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsArticlesItemsType
    KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable explanation of the error
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems
    ? KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItemsType
    : type: string
      enum:
      - TEXT
      - LINK
      - HTML
      description: Type of the field, can contain text, link or html
      title: KnowledgeHubCountryGuideCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsContractTypesItemsCategoriesItemsFieldsItemsType
  securitySchemes:
    deelToken:
      type: http
      scheme: bearer
      description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)"
    oauth2:
      type: http
      scheme: bearer
      description: Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
x-provenance:
  method: harvested
  publisher: Deel
  source: https://developer.deel.com/openapi/endpoints-5.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)