curl --request GET \
--url https://api.example.com/api/horses/:id{
"success": true,
"data": {
"_id": "507f1f77bcf86cd799439011",
"seller_id": {
"_id": "507f191e810c19729de860ea",
"full_name": "John Smith",
"email": "[email protected]",
"phone": "+54 11 1234-5678",
"seller_profile": {
"is_verified_badge": true,
"years_experience": 15,
"specialty": "Show Jumping"
}
},
"name": "Thunder",
"age": 8,
"breed": "Thoroughbred",
"discipline": "Show Jumping",
"pedigree": "Sire: Storm Cat, Dam: Winning Colors",
"location": {
"country": "Argentina",
"region": "Buenos Aires",
"city": "San Isidro",
"coordinates": {
"lat": -34.4708,
"lng": -58.5247
}
},
"price": 45000,
"currency": "USD",
"photos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j1",
"url": "https://cdn.horsetrust.com/photos/abc123.jpg",
"caption": "Thunder at competition",
"is_cover": true,
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"videos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j2",
"url": "https://youtube.com/watch?v=abc123",
"embed_url": "https://www.youtube.com/embed/abc123",
"video_type": "competition",
"title": "Thunder jumping 1.40m",
"recorded_at": "2026-02-15T00:00:00Z",
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"status": "active",
"views_count": 235,
"created_at": "2026-03-01T10:00:00Z",
"updated_at": "2026-03-05T15:30:00Z"
},
"vet_record": {
"_id": "65f1a2b3c4d5e6f7g8h9i0j3",
"horse_id": "507f1f77bcf86cd799439011",
"review_date": "2026-02-20T00:00:00Z",
"health_status": "Excellent condition",
"certificates": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j4",
"url": "https://cdn.horsetrust.com/certs/health_cert.pdf",
"title": "Health Certificate",
"uploaded_at": "2026-02-20T10:00:00Z"
}
],
"vaccines": [
{
"name": "Influenza",
"applied_at": "2026-01-15T00:00:00Z",
"next_due_at": "2026-07-15T00:00:00Z",
"batch_number": "FLU2026-A123"
}
],
"validation_status": "validated",
"notes": "Annual check-up completed. Horse in excellent health."
}
}
Get a single horse listing by ID with detailed information and latest vet record
curl --request GET \
--url https://api.example.com/api/horses/:id{
"success": true,
"data": {
"_id": "507f1f77bcf86cd799439011",
"seller_id": {
"_id": "507f191e810c19729de860ea",
"full_name": "John Smith",
"email": "[email protected]",
"phone": "+54 11 1234-5678",
"seller_profile": {
"is_verified_badge": true,
"years_experience": 15,
"specialty": "Show Jumping"
}
},
"name": "Thunder",
"age": 8,
"breed": "Thoroughbred",
"discipline": "Show Jumping",
"pedigree": "Sire: Storm Cat, Dam: Winning Colors",
"location": {
"country": "Argentina",
"region": "Buenos Aires",
"city": "San Isidro",
"coordinates": {
"lat": -34.4708,
"lng": -58.5247
}
},
"price": 45000,
"currency": "USD",
"photos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j1",
"url": "https://cdn.horsetrust.com/photos/abc123.jpg",
"caption": "Thunder at competition",
"is_cover": true,
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"videos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j2",
"url": "https://youtube.com/watch?v=abc123",
"embed_url": "https://www.youtube.com/embed/abc123",
"video_type": "competition",
"title": "Thunder jumping 1.40m",
"recorded_at": "2026-02-15T00:00:00Z",
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"status": "active",
"views_count": 235,
"created_at": "2026-03-01T10:00:00Z",
"updated_at": "2026-03-05T15:30:00Z"
},
"vet_record": {
"_id": "65f1a2b3c4d5e6f7g8h9i0j3",
"horse_id": "507f1f77bcf86cd799439011",
"review_date": "2026-02-20T00:00:00Z",
"health_status": "Excellent condition",
"certificates": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j4",
"url": "https://cdn.horsetrust.com/certs/health_cert.pdf",
"title": "Health Certificate",
"uploaded_at": "2026-02-20T10:00:00Z"
}
],
"vaccines": [
{
"name": "Influenza",
"applied_at": "2026-01-15T00:00:00Z",
"next_due_at": "2026-07-15T00:00:00Z",
"batch_number": "FLU2026-A123"
}
],
"validation_status": "validated",
"notes": "Annual check-up completed. Horse in excellent health."
}
}
curl -X GET "https://api.horsetrust.com/api/horses/507f1f77bcf86cd799439011" \
-H "Content-Type: application/json"
{
"success": true,
"data": {
"_id": "507f1f77bcf86cd799439011",
"seller_id": {
"_id": "507f191e810c19729de860ea",
"full_name": "John Smith",
"email": "[email protected]",
"phone": "+54 11 1234-5678",
"seller_profile": {
"is_verified_badge": true,
"years_experience": 15,
"specialty": "Show Jumping"
}
},
"name": "Thunder",
"age": 8,
"breed": "Thoroughbred",
"discipline": "Show Jumping",
"pedigree": "Sire: Storm Cat, Dam: Winning Colors",
"location": {
"country": "Argentina",
"region": "Buenos Aires",
"city": "San Isidro",
"coordinates": {
"lat": -34.4708,
"lng": -58.5247
}
},
"price": 45000,
"currency": "USD",
"photos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j1",
"url": "https://cdn.horsetrust.com/photos/abc123.jpg",
"caption": "Thunder at competition",
"is_cover": true,
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"videos": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j2",
"url": "https://youtube.com/watch?v=abc123",
"embed_url": "https://www.youtube.com/embed/abc123",
"video_type": "competition",
"title": "Thunder jumping 1.40m",
"recorded_at": "2026-02-15T00:00:00Z",
"uploaded_at": "2026-03-01T10:00:00Z"
}
],
"status": "active",
"views_count": 235,
"created_at": "2026-03-01T10:00:00Z",
"updated_at": "2026-03-05T15:30:00Z"
},
"vet_record": {
"_id": "65f1a2b3c4d5e6f7g8h9i0j3",
"horse_id": "507f1f77bcf86cd799439011",
"review_date": "2026-02-20T00:00:00Z",
"health_status": "Excellent condition",
"certificates": [
{
"_id": "65f1a2b3c4d5e6f7g8h9i0j4",
"url": "https://cdn.horsetrust.com/certs/health_cert.pdf",
"title": "Health Certificate",
"uploaded_at": "2026-02-20T10:00:00Z"
}
],
"vaccines": [
{
"name": "Influenza",
"applied_at": "2026-01-15T00:00:00Z",
"next_due_at": "2026-07-15T00:00:00Z",
"batch_number": "FLU2026-A123"
}
],
"validation_status": "validated",
"notes": "Annual check-up completed. Horse in excellent health."
}
}
{
"success": false,
"message": "Invalid horse ID"
}
{
"success": false,
"message": "Horse not found"
}
{
"success": false,
"message": "Server error"
}