---
title: "[B003/4-1]Get Sequence Search Results"
method: POST
path: "/bio-openapi/sequence/job/result"
tags: ["LS Search"]
---

# \[B003/4-1\]Get Sequence Search Results

`POST /bio-openapi/sequence/job/result`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/bio-openapi/sequence/job/result`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/bio-openapi/sequence/job/result/post.ts> (a function with typed inputs; its response is checked against the schema)

Get Sequence Search Results By Job ID.

## Request body

- B0034JobResultRequest
  - `job_id` string, required: ID of the search job in backend, use this ID for subsequent API calls
  - `page` integer, required: Current page number, start from 1
  - `size` integer, required: Current page result size, support maximum 100
  - `sort_field` B0034JobResultOpenApiSortField
    - `field` string, required: Sorting Field. perc_identity、q_perc_identity、s_perc_identity、q_coverage、s_coverage、evalue
    - `order` string, required: Sorting order. desc、asc

## Response `200`

Successful [b003/4-1]get sequence search results response.

- B0034JobResultResponse
  - `data` B0034JobResultResults
    - `total` integer: Query Results Count
    - `results` B0034JobResultOpenApiHit[]: Query Results
      - `gaps` integer: Total number of gap
      - `hsps` B0034JobResultOpenApiHsps[]: Hit information
        - `q_end` integer: Query sequence hit end index
        - `s_end` integer: Subject sequence hit end index
        - `matched` string: Details of sequence match hit
        - `q_start` integer: Query sequence hit start index
        - `s_start` integer: Subject sequence hit start index
        - `q_string` string: Query sequence hit region
        - `s_string` string: Subject sequence hit region
      - `s_len` integer: Subject sequence length
      - `score` number, double: Raw Score
      - `evalue` string: The higher you set this e-value threshold, the more results you are likely to see.E-Value indicates how likely it is that a sequence is similar to yours simply by chance. For instance, if your sequence is very short, there is a higher likelihood that it appears in several locations simply by chance. The greater the e-value, the more likely it is that this is just down to luck.
      - `seq_id` string: Sequence ID
      - `patents` B0034JobResultPatent
        - `total` integer: Total patent count of the sequence
        - `patents` B0034JobResultOpenApiPatentDetail[]: Patent List
          - `pn` string: Patent publication number
          - `claimed` boolean: Whether the subject sequence is in patent claims
          - `location` object: Sequence location in patent
          - `patent_id` string: Patent ID
          - `sequence_id_number` unknown[]: Sequence ID number in patent
            - unknown
      - `identity` string: Blast Identity value
      - `positive` string: Positive value
      - `bit_score` number, double: Bit Score
      - `q_coverage` number, double: Coverage percentage of query sequence
      - `s_coverage` number, double: Coverage percentage of subject sequence
      - `s_sequence` string: Subject sequence
      - `perc_identity` number, double: Identity percentage value
      - `q_perc_identity` number, double: Identity percentage value of query sequence
      - `s_perc_identity` number, double: Identity percentage value of subject sequence
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
