# QS university search API

Search QS university profiles by name, city or keyword and country via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, per_page, q, and retrieve structured data including source university identifier, source core identifier, university name, published country, and profile path for institution discovery, and profile navigation.

Documentation: https://openany.si/market/apis/qs-top-universities/qs-top-universities-qs-university-search-api/?offering=a1d9eed6-101e-4c47-8567-149c490d5bd8
API ID: a1d9eed6-101e-4c47-8567-149c490d5bd8
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/qs/v1/universities
Page update time: 2026-12-03T02:45:46.869Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:45:45.444Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "QS university search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "University name, city or keyword, e.g. `oxford`."
        },
        "country": {
          "type": "string",
          "description": "Country name to narrow the search, e.g. `Japan`."
        },
        "page": {
          "type": "integer",
          "description": "Page number, default 1."
        },
        "per_page": {
          "type": "integer",
          "description": "Results per page (1-100), default 20."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "country": {
      "type": "null"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "per_page": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    },
    "total_pages": {
      "type": "integer"
    },
    "universities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attributes": {
            "type": "object",
            "properties": {
              "International Students": {
                "type": "string"
              },
              "Research Output": {
                "type": "string"
              },
              "Scholarships": {
                "type": "string"
              },
              "Size": {
                "type": "string"
              },
              "Status": {
                "type": "string"
              },
              "Student/Faculty Ratio": {
                "type": "string"
              },
              "Tuition Fee (International)": {
                "type": "string"
              }
            }
          },
          "campuses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "address": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          },
          "city": {
            "type": "string"
          },
          "core_id": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "featured": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "overview": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "programme_count": {
            "type": "integer"
          },
          "url": {
            "type": "string"
          },
          "world_rank": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/qs/v1/universities?output=json&per_page=1&q=oxford&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 1,
  "country": null,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:19:32.621Z",
  "next_page": 2,
  "page": 1,
  "per_page": 1,
  "query": "oxford",
  "total": 3,
  "total_pages": 3,
  "universities": [
    {
      "attributes": {
        "International Students": "8330",
        "Research Output": "High",
        "Scholarships": "Yes",
        "Size": "L",
        "Status": "Public",
        "Student/Faculty Ratio": "24",
        "Tuition Fee (International)": "17100(GBP)"
      },
      "campuses": [
        {
          "address": "Gipsy Lane and Headington Hill sites, Oxford Brookes University, Headington",
          "city": "Oxford",
          "country": "United Kingdom",
          "name": "Headington Campus"
        },
        {
          "address": "Oxford Brookes University, Harcourt Hill Campus",
          "city": "Oxford",
          "country": "United Kingdom",
          "name": "Harcourt Hill Campus"
        },
        {
          "address": "Faculty of Health and Life Sciences, Oxford Brookes University",
          "city": "Swindon",
          "country": "United Kingdom",
          "name": "Swindon Campus"
        },
        {
          "address": "Abingdon, United Kingdom",
          "city": "Abingdon",
          "country": "United Kingdom",
          "name": "Abingdon and Witney College"
        },
        {
          "address": "Faculty of Health and Life Sciences",
          "city": "Oxford",
          "country": "United Kingdom",
          "name": "Headington Campus (Marston Road site)"
        },
        {
          "address": "Solihull, United Kingdom",
          "city": "Solihull",
          "country": "United Kingdom",
          "name": "Solihull College"
        },
        {
          "address": "Bridgwater, United Kingdom",
          "city": "Bridgwater",
          "country": "United Kingdom",
          "name": "Bridgwater and Taunton College"
        },
        {
          "address": "Oxford, United Kingdom",
          "city": "Oxford",
          "country": "United Kingdom",
          "name": "Activate Learning-City of Oxford College"
        },
        {
          "address": "Weybridge, United Kingdom",
          "city": "Weybridge",
          "country": "United Kingdom",
          "name": "Brooklands College"
        }
      ],
      "city": "Oxford",
      "core_id": "477",
      "country": "United Kingdom",
      "featured": false,
      "id": "297597",
      "logo": "https://www.topuniversities.com/sites/default/files/styles/61x61/public/profiles/logos/oxford-brookes-university_592560cf2aeae70239af4c61_large.jpg.webp",
      "name": "Oxford Brookes University",
      "overview": "Oxford Brookes is a leading modern British university, known for its strengths in teaching, innovative approaches to learning, and its focus on employability. We are the only UK university ranked in the QS world university rankings of top 50 institutions under 50 years old (QS, 2021), and among the world elite in 13 subjects (QS, 2021). Oxford Brookes has a strong global reputation for teaching – we came second in the Times Higher Education (THE) Young University Rankings 2020. We are based in Oxford, a centre of learning for centuries but also a young, vibrant student city. We have three main campuses in and around Oxford, and a fourth campus in Swindon for locally based healthcare students. There are four main faculties at Oxford Brookes: ● Oxford Brookes Business School ● Faculty of Health and Life Sciences ● Faculty of Humanities and Social Sciences ● Faculty of Technology, Design and Environment Oxford Brookes welcomes students from over 140 countries, and we are proud of our diverse, inclusive community. Choosing a university is a life-changing decision. There's no better way to find out if Oxford Brookes is the place for you than by visiting us in person. Our Summer Undergraduate Open Days offer you the chance to find out what it's really like to be an Oxford Brookes student. Join us at our Open Days and book your place today.",
      "path": "/universities/oxford-brookes-university",
      "programme_count": 226,
      "url": "https://www.topuniversities.com/universities/oxford-brookes-university",
      "world_rank": "=411"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/qs-top-universities/qs-top-universities-qs-university-search-api/?offering=a1d9eed6-101e-4c47-8567-149c490d5bd8

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
