# GreatSchools Oklahoma City Schools Scraper

**Use case:** 

Scrape GreatSchools listings for Oklahoma City, OK with school name, type, grade levels, district, ratings, and address. Export to JSON or CSV.

## Input

```json
{
  "startUrl": "https://www.greatschools.org/best-schools/california/san-francisco?st[]=public&st[]=charter",
  "maxItems": 25,
  "location": "Oklahoma City, OK",
  "schoolLevels": [
    "elementary",
    "middle",
    "high"
  ],
  "schoolTypes": [
    "public",
    "charter"
  ]
}
```

## Output

```json
{
  "name": {
    "label": "School Name",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "schoolType": {
    "label": "Type",
    "format": "text"
  },
  "gradeLevels": {
    "label": "Grades",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "rating_scale": {
    "label": "Rating Scale",
    "format": "text"
  },
  "district_name": {
    "label": "District",
    "format": "text"
  },
  "contact_street": {
    "label": "Address",
    "format": "text"
  },
  "contact_city": {
    "label": "City",
    "format": "text"
  },
  "contact_state": {
    "label": "State",
    "format": "text"
  },
  "contact_zip": {
    "label": "ZIP",
    "format": "text"
  },
  "contact_phone": {
    "label": "Phone",
    "format": "text"
  },
  "contact_website": {
    "label": "Website",
    "format": "link"
  },
  "principal": {
    "label": "Principal",
    "format": "text"
  },
  "principal_email": {
    "label": "Email",
    "format": "text"
  },
  "reviews_totalCount": {
    "label": "Reviews",
    "format": "number"
  },
  "reviews_averageRating": {
    "label": "Avg Rating",
    "format": "number"
  },
  "enrollment_total": {
    "label": "Enrollment",
    "format": "number"
  },
  "studentsPerTeacher": {
    "label": "Student/Teacher",
    "format": "number"
  },
  "studentProgressRating": {
    "label": "Progress",
    "format": "number"
  },
  "testScoresRating": {
    "label": "Test Scores",
    "format": "number"
  },
  "equityRating": {
    "label": "Equity",
    "format": "number"
  },
  "lowIncome_percentage": {
    "label": "Low Income %",
    "format": "number"
  },
  "raceEthnicity_summary": {
    "label": "Demographics",
    "format": "text"
  },
  "coursesAndPrograms": {
    "label": "Programs",
    "format": "text"
  },
  "latitude": {
    "label": "Lat",
    "format": "number"
  },
  "longitude": {
    "label": "Lon",
    "format": "number"
  },
  "distance": {
    "label": "Distance",
    "format": "number"
  },
  "scrapedTimestamp": {
    "label": "Scraped",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Greatschools Scraper](https://apify.com/parseforge/greatschools-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/greatschools-scraper) to learn more, explore other use cases, and run it yourself.