---
title: "Search MATLAB Central areas for content matching specified query."
method: GET
path: "/v1/search"
tags: ["Search"]
---

# Search MATLAB Central areas for content matching specified query.

`GET /v1/search`

<br/><div>Returns MATLAB Central artifacts that match a specified query. Areas you can search include MATLAB Answers, File Exchange, Blogs, Cody, Discussions, Community Highlights, and Community Contests. All parameters are optional. When no parameters are specified, all results from MATLAB Central are returned.</div><br/><div>The <var>scope</var> parameter lets you restrict the request to specific MATLAB Central areas. The request accepts several other parameters to help narrow your search and create complex queries.</div><br/><div>/v1/search returns one or more of the following artifacts:<ul><li>Question</li><li>File</li><li>Problem</li><li>Blog</li><li>Topic</li></ul></div><p>The value for the scope parameter determines which artifacts are returned.</p>

## Query parameters

- `query` string
- `scope` 'matlab-answers' | 'file-exchange' | 'blogs' | 'cody' | 'discussions' | 'community-highlights' | 'community-contests'
- `tags` string
- `created_before` string, date-time
- `created_after` string, date-time
- `sort_order` 'created asc' | 'created desc' | 'updated asc' | 'updated desc' | 'relevance asc' | 'relevance desc'
- `page` integer
- `count` integer

## Response `200`

Successful results

- SearchResults
  - `items` union[]
    - union
      - Question
        - `answer_count` integer
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `comment_count` integer
        - `created_date` string, date-time
        - `description` string
        - `id` integer
        - `is_accepted` boolean
        - `is_answered` boolean
        - `scope` string
        - `tags` string[]
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `view_count` integer
        - `vote_count` integer
      - File
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `comment_count` integer
        - `created_date` string, date-time
        - `description` string
        - `download_count` integer
        - `id` integer
        - `rating` number
        - `rating_count` integer
        - `scope` string
        - `tags` string[]
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `version` string
      - Problem
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `comment_count` integer
        - `created_date` string, date-time
        - `description` string
        - `id` integer
        - `like_count` integer
        - `scope` string
        - `solver_count` integer
        - `tags` string[]
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
      - Discussion
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `created_date` string, date-time
        - `description` string
        - `discussion_type` string
        - `id` integer
        - `reply_count` integer
        - `scope` string
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `view_count` integer
        - `vote_count` integer
      - CommunityHighlight
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `created_date` string, date-time
        - `description` string
        - `highlight_type` string
        - `id` integer
        - `reply_count` integer
        - `scope` string
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `view_count` integer
        - `vote_count` integer
      - CommunityContest
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `created_date` string, date-time
        - `description` string
        - `id` integer
        - `reply_count` integer
        - `scope` string
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `view_count` integer
        - `vote_count` integer
      - Blog
        - `artifact_type` string
        - `author` Author
          - `author_id` integer
          - `author_url` string, uri
          - `author_name` string
        - `blog_name` string
        - `blog_url` string, uri
        - `comment_count` integer
        - `created_date` string, date-time
        - `description` string
        - `scope` string
        - `tags` string[]
        - `title` string
        - `updated_date` string, date-time
        - `url` string, uri
        - `view_count` integer
  - `total_found` integer
  - `has_more` boolean

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `405` — Method Not Allowed
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/mathworks/apis/community-api.md) · [All operations](https://skmtc.net/mathworks/apis/community-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mathworks/community-api/revisions/cb52a4da72b3/schema)
