# JRA Horse Race Results

Collect JRA race results, payouts, and horse histories. By default, the template selects Lemaire’s horse and horses numbered one or two places before or after it.

- Template page: [https://www.octoparse.com/template/jra-race-results](https://www.octoparse.com/template/jra-race-results)
- Categories: Sports
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from web pages.

## Output

The current workflow extracts 49 fields, including `3連単払戻`, `3連複払戻`, `JRAレース結果URL`, `JRA成績表URL`, `クラス`, `グレード`, `コース`, `コース詳細`, `コーナー通過順`, `ハロンタイム`, `レースID`, `レース上がり3F`, `レース名`, `レース日`, `レース番号`, `レーティング`, `ワイド払戻`, `人気`, `制裁・出走制限（取得可能分）`, `単勝払戻`, `天候`, `対象騎乗馬との馬番差`, `対象騎乗馬番`, `対象騎乗馬着順`, `性齢`, `斤量`, `枠番`, `着差`, `着順`, `競走条件`, `競馬場`, `複勝払戻`, `調教師`, `負担重量条件`, `走破タイム`, `過去戦績`, `開催回・開催日`, `馬体重`, `馬体重増減`, `馬別コーナー通過順`, `馬別上がり3F`, `馬単払戻`, `馬名`, `馬場状態`, `馬場種別`, `馬情報URL`, `馬番`, `馬連払戻`, `騎手`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keywords or URLs, Target jockey and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords or URLs

Required. MainKeys Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=10000.

### Target jockey

Optional. target_jockey Constraints: minLength=1; maxLength=1000.

## How to Use

# JRA Race Results

Collect official Japan Racing Association (JRA) race results: race date, venue, finishing positions, jockeys, times, and payouts for each runner.

## Input example

- **Keywords:** `2024|Tokyo|2|12`
- **Race URL:** [https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde0105202402121220240526/53](https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde0105202402121220240526/53)

## How to use

1. Click “Try it now”.
2. Select the search language and confirm.
3. Enter the search keywords.
4. Click “Save and run”, then select “Cloud extraction”.

## Legal note

Web scraping itself is not illegal, but the collection method and use of the data may create legal or ethical issues. Seek professional legal advice if you are unsure.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Netkeiba Horse Racing Database Search](https://www.octoparse.com/template/netkeiba-horse-racing-search)
- [Bing Search Results Scraper](https://www.octoparse.com/template/bing-search-results-scraper)
- [Ecosia Search Results Scraper](https://www.octoparse.com/template/ecosia-search-results-scraper)
- [Bic Camera Search Results Scraper](https://www.octoparse.com/template/bic-camera-search-results-scraper)
- [IPROS Company Search Results Scraper](https://www.octoparse.com/template/ipros-co)

## Input Schema

```json
{
  "title": "JRA Horse Race Results input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords_or_URLs": {
      "title": "Keywords or URLs",
      "description": "MainKeys",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "target_jockey": {
      "title": "Target jockey",
      "description": "target_jockey",
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords_or_URLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords_or_URLs": [
    "https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110720261101/0B",
    "https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110820261101/C0",
    "https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110920261101/75"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "3連単払戻": {
      "type": "string",
      "description": ""
    },
    "3連複払戻": {
      "type": "string",
      "description": ""
    },
    "JRAレース結果URL": {
      "type": "string",
      "description": ""
    },
    "JRA成績表URL": {
      "type": "string",
      "description": ""
    },
    "クラス": {
      "type": "string",
      "description": ""
    },
    "グレード": {
      "type": "string",
      "description": ""
    },
    "コース": {
      "type": "string",
      "description": ""
    },
    "コース詳細": {
      "type": "string",
      "description": ""
    },
    "コーナー通過順": {
      "type": "string",
      "description": ""
    },
    "ハロンタイム": {
      "type": "string",
      "description": ""
    },
    "レースID": {
      "type": "string",
      "description": ""
    },
    "レース上がり3F": {
      "type": "string",
      "description": ""
    },
    "レース名": {
      "type": "string",
      "description": ""
    },
    "レース日": {
      "type": "string",
      "description": ""
    },
    "レース番号": {
      "type": "string",
      "description": ""
    },
    "レーティング": {
      "type": "string",
      "description": ""
    },
    "ワイド払戻": {
      "type": "string",
      "description": ""
    },
    "人気": {
      "type": "string",
      "description": ""
    },
    "制裁・出走制限（取得可能分）": {
      "type": "string",
      "description": ""
    },
    "単勝払戻": {
      "type": "string",
      "description": ""
    },
    "天候": {
      "type": "string",
      "description": ""
    },
    "対象騎乗馬との馬番差": {
      "type": "string",
      "description": ""
    },
    "対象騎乗馬番": {
      "type": "string",
      "description": ""
    },
    "対象騎乗馬着順": {
      "type": "string",
      "description": ""
    },
    "性齢": {
      "type": "string",
      "description": ""
    },
    "斤量": {
      "type": "string",
      "description": ""
    },
    "枠番": {
      "type": "string",
      "description": ""
    },
    "着差": {
      "type": "string",
      "description": ""
    },
    "着順": {
      "type": "string",
      "description": ""
    },
    "競走条件": {
      "type": "string",
      "description": ""
    },
    "競馬場": {
      "type": "string",
      "description": ""
    },
    "複勝払戻": {
      "type": "string",
      "description": ""
    },
    "調教師": {
      "type": "string",
      "description": ""
    },
    "負担重量条件": {
      "type": "string",
      "description": ""
    },
    "走破タイム": {
      "type": "string",
      "description": ""
    },
    "過去戦績": {
      "type": "string",
      "description": ""
    },
    "開催回・開催日": {
      "type": "string",
      "description": ""
    },
    "馬体重": {
      "type": "string",
      "description": ""
    },
    "馬体重増減": {
      "type": "string",
      "description": ""
    },
    "馬別コーナー通過順": {
      "type": "string",
      "description": ""
    },
    "馬別上がり3F": {
      "type": "string",
      "description": ""
    },
    "馬単払戻": {
      "type": "string",
      "description": ""
    },
    "馬名": {
      "type": "string",
      "description": ""
    },
    "馬場状態": {
      "type": "string",
      "description": ""
    },
    "馬場種別": {
      "type": "string",
      "description": ""
    },
    "馬情報URL": {
      "type": "string",
      "description": ""
    },
    "馬番": {
      "type": "string",
      "description": ""
    },
    "馬連払戻": {
      "type": "string",
      "description": ""
    },
    "騎手": {
      "type": "string",
      "description": ""
    }
  },
  "title": "JRA Horse Race Results output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "3連単払戻": "4-10-9:6,040 円",
  "3連複払戻": "4-9-10:1,090 円",
  "JRAレース結果URL": "https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110820261101/C0",
  "JRA成績表URL": "",
  "クラス": "1勝クラス",
  "グレード": "",
  "コース": "芝2200m",
  "コース詳細": "2,200 メートル （芝・右 外）",
  "コーナー通過順": "1コーナー: 4 ,7(3,10)(5,14)(2,9)(1,13,11)-8-6-12; 2コーナー: 4 ,7(3,10)(5,14)(2,9)(1,13,11)-8-6-12; 3コーナー: 10( 4 ,7)9(3,5,14)(2,11)13(1,8)-(12,6); 4コーナー: 10( 4 ,7,9)(5,11,14)3(2,8)(1,13)-(12,6)",
  "ハロンタイム": "12.9 - 11.5 - 12.7 - 12.7 - 12.3 - 12.1 - 12.7 - 12.1 - 11.6 - 11.0 - 11.3",
  "レースID": "202608041108",
  "レース上がり3F": "4F 46.0 - 3F 33.9",
  "レース名": "3歳以上1勝クラス",
  "レース日": "2026-11-01",
  "レース番号": "8",
  "レーティング": "",
  "ワイド払戻": "4-10:280 円; 4-9:400 円; 9-10:340 円",
  "人気": "1",
  "制裁・出走制限（取得可能分）": "ガウディ号の騎手北村友一は、第６競走での落馬負傷のため池添謙一に変更。; ムスクレスト号の騎手鮫島克駿は、最後の直線コースでの鞭の使用について戒告。",
  "単勝払戻": "4:420 円",
  "天候": "晴",
  "対象騎乗馬との馬番差": "",
  "対象騎乗馬番": "",
  "対象騎乗馬着順": "",
  "性齢": "せん3",
  "斤量": "55.0",
  "枠番": "6",
  "着差": "１／２",
  "着順": "2",
  "競走条件": "3歳以上 （混合）［指定］",
  "競馬場": "京都",
  "複勝払戻": "4:120 円; 10:130 円; 9:170 円",
  "調教師": "友道 康夫",
  "負担重量条件": "定量",
  "走破タイム": "2:13.0",
  "過去戦績": "[{\"date\": \"2026-08-29\", \"venue\": \"中京\", \"race_name\": \"3歳未勝利\", \"track\": \"芝2200\", \"track_condition\": \"良\", \"win_popularity\": \"1\", \"finish_position\": \"1\", \"jockey\": \"岩田 望来\", \"carried_weight\": \"57.0\", \"horse_weight\": \"494\", \"finish_time\": \"2:10.4\", \"rating\": \"\"}, {\"date\": \"2026-08-09\", \"venue\": \"中京\", \"race_name\": \"3歳未勝利\", \"track\": \"芝2000\", \"track_condition\": \"良\", \"win_popularity\": \"4\", \"finish_position\": \"3\", \"jockey\": \"西塚 洸二\", \"carried_weight\": \"57.0\", \"horse_weight\": \"494\", \"finish_time\": \"2:00.1\", \"rating\": \"\"}]",
  "開催回・開催日": "4回京都11日",
  "馬体重": "488",
  "馬体重増減": "-6",
  "馬別コーナー通過順": "3 3 1 1",
  "馬別上がり3F": "34.0",
  "馬単払戻": "4-10:1,440 円",
  "馬名": "マイコンプリート",
  "馬場状態": "良",
  "馬場種別": "芝",
  "馬情報URL": "https://www.jra.go.jp/JRADB/accessU.html?CNAME=pw01dud102023107155/92",
  "馬番": "10",
  "馬連払戻": "4-10:590 円",
  "騎手": "西塚 洸二"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "JRA-race-results",
  "taskName": "JRA Horse Race Results",
  "parameters": "{\"keywords_or_URLs\":[\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110720261101/0B\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110820261101/C0\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110920261101/75\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords_or_URLs\":[\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110720261101/0B\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110820261101/C0\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110920261101/75\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "JRA-race-results",
        "taskName": "JRA Horse Race Results",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "JRA-race-results",
  "taskName": "JRA Horse Race Results",
  "parameters": "{\"keywords_or_URLs\":[\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110720261101/0B\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110820261101/C0\",\"https://www.jra.go.jp/JRADB/accessS.html?CNAME=pw01sde1008202604110920261101/75\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `JRA-race-results`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/jra-race-results.json)
- [Manifest](https://www.octoparse.com/templates/jra-race-results-manifest.json)
