← Starships
X-wing
Attributes
| Model | T-65 X-wing |
|---|---|
| Manufacturer | Incom Corporation |
| Cost in credits | 149999 |
| Length | 12.5 |
| Max atmosphering speed | 1050 |
| Crew | 1 |
| Passengers | 0 |
| Cargo capacity | 110 |
| Consumables | 1 week |
| Hyperdrive rating | 1.0 |
| MGLT | 100 |
| Starship class | Starfighter |
Related records
Use this record
curl
curl https://swapi.build/api/starships/12
JavaScript
fetch('https://swapi.build/api/starships/12').then((r) => r.json())
Python
requests.get('https://swapi.build/api/starships/12').json()
MCP
Connect your agent once:
claude mcp add --transport http swapi-build https://swapi.build/mcp
then call the tool sw_get with:
{"resource":"STARSHIPS","id":12}
GET /api/starships/12 200
{
"MGLT": "100",
"cargo_capacity": "110",
"consumables": "1 week",
"cost_in_credits": "149999",
"created": "2014-12-12T11:19:05.340000Z",
"crew": "1",
"edited": "2014-12-20T21:23:49.886000Z",
"films": [
"https://swapi.build/api/films/1",
"https://swapi.build/api/films/2",
"https://swapi.build/api/films/3"
],
"hyperdrive_rating": "1.0",
"length": "12.5",
"manufacturer": "Incom Corporation",
"max_atmosphering_speed": "1050",
"model": "T-65 X-wing",
"name": "X-wing",
"passengers": "0",
"pilots": [
"https://swapi.build/api/people/1",
"https://swapi.build/api/people/9",
"https://swapi.build/api/people/18",
"https://swapi.build/api/people/19"
],
"starship_class": "Starfighter",
"url": "https://swapi.build/api/starships/12"
}