# Export case law search results to CSV

**Use case:** 

Turn Google Scholar case law searches into CSV or JSON. Get case name, citation, court, date, and snippet for every result, ready for review.

## Input

```json
{
  "query": "breach of fiduciary duty",
  "maxResults": 20,
  "language": "en",
  "sortByDate": false,
  "excludeCitations": false,
  "fetchCaseDetailsForResults": false
}
```

## Output

```json
{
  "result_type": {
    "label": "Result Type",
    "format": "string"
  },
  "result_id": {
    "label": "Result ID",
    "format": "string"
  },
  "case_id": {
    "label": "Case ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "name": {
    "label": "Case Name",
    "format": "string"
  },
  "court_name": {
    "label": "Court",
    "format": "string"
  },
  "snippet": {
    "label": "Snippet",
    "format": "string"
  },
  "link": {
    "label": "Link",
    "format": "string"
  },
  "publication_info": {
    "label": "Publication Info",
    "format": "object"
  },
  "dates": {
    "label": "Dates",
    "format": "array"
  },
  "short_citations": {
    "label": "Short Citations",
    "format": "array"
  },
  "cited_cases": {
    "label": "Cited Cases",
    "format": "array"
  },
  "fetched_at": {
    "label": "Fetched At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Scholar Case Law API](https://apify.com/johnvc/google-scholar-case-law) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/google-scholar-case-law) to learn more, explore other use cases, and run it yourself.