Discover/Org API
live

Org APIsra.org.uk

Search and retrieve UK solicitor records from the SRA register. Look up by name, SRA number, or enumerate the full directory with authorisation and regulatory data.

Endpoint health
verified 2d ago
search_persons
get_person_detail
enumerate_persons
3/3 passing latest checkself-healing
Endpoints
3
Updated
21d ago

What is the Org API?

The SRA Solicitors Register API provides 3 endpoints for querying the UK Solicitors Regulation Authority register at sra.org.uk. Use search_persons to find solicitors by name word, get_person_detail to retrieve authorisation status, type of lawyer, and regulatory record for a specific SRA number, or enumerate_persons to systematically walk the register by common first names and surnames.

Try it
Page number (1-indexed)
Name word to search for (min 2 chars). Matches exact words in solicitor names.
Results per page (1-500)
api.parse.bot/scraper/64700c10-9b35-4b89-9f8d-5eaa99353f24/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/64700c10-9b35-4b89-9f8d-5eaa99353f24/search_persons?page=1&query=patel&page_size=10' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace sra-org-uk-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: SRA Solicitors Register — search, enumerate, and inspect solicitor records."""
from parse_apis.sra_solicitors_register_api import SRA, PersonNotFound

client = SRA()

# Search for solicitors by surname — limit caps total items fetched.
for person in client.personsummaries.search(query="patel", limit=5):
    print(person.full_name, person.sra_number, person.workplace)

# Enumerate by first name — alternative entry for systematic coverage.
first_match = client.personsummaries.enumerate(name="john", limit=1).first()
if first_match:
    print(first_match.full_name, first_match.status)

# Drill into full detail from a summary record.
if first_match:
    detail = first_match.details()
    print(detail.full_name, detail.type_of_lawyer, detail.regulator)

# Fetch a person directly by SRA number with typed error handling.
try:
    solicitor = client.people.get(sra_number="297428")
    print(solicitor.full_name, solicitor.authorisation, solicitor.regulatory_record)
except PersonNotFound as exc:
    print(f"SRA number not found: {exc.sra_number}")

print("exercised: personsummaries.search / personsummaries.enumerate / details / people.get")
All endpoints · 3 totalmissing one? ·

Search for solicitors (persons) in the SRA register. The search matches exact words within names (case-insensitive). Returns paginated results from up to 1000 matches per query. The SRA backend may be slow for very common surnames with large result sets.

Input
ParamTypeDescription
pageintegerPage number (1-indexed)
queryrequiredstringName word to search for (min 2 chars). Matches exact words in solicitor names.
page_sizeintegerResults per page (1-500)
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "source": "string, always 'sra_solicitors_register'",
    "results": "array of {full_name, sra_number, profile_url, status, workplace}",
    "next_page": "boolean, whether more results are available on the next page",
    "page_size": "integer, results per page",
    "query_prefix": "string, the search query used",
    "capped_at_1000": "boolean, whether the SRA caps results at 1000",
    "total_matching": "integer, total results the SRA reports for this query",
    "results_fetched": "integer, number of results actually retrieved from upstream"
  }
}

About the Org API

What the API covers

The API surfaces the public register maintained by the Solicitors Regulation Authority (SRA), which lists individuals authorised to practise as solicitors in England and Wales. Each solicitor record includes full_name, sra_number, profile_url, status, and workplace at the list level, with authorisation, type_of_lawyer, regulator, and regulatory_record available in the detail endpoint.

Searching and pagination

search_persons accepts a query string (minimum 2 characters) and matches exact words within solicitor names, case-insensitively. Results are paginated via page and page_size (up to 500 per page), and the total_matching field tells you how many records the SRA reports for that query. The SRA caps result sets at 1000 records, reflected in the capped_at_1000 boolean — queries on very common surnames like "smith" or "jones" will hit this cap, and results_fetched may be lower than total_matching. Response time for high-frequency surnames can be slower due to the size of those result sets.

Retrieving individual records

get_person_detail takes a single sra_number and returns the full profile for that solicitor: authorisation details, type_of_lawyer, the regulator body, and regulatory_record. This is the endpoint to use for verification workflows where you already have an SRA number from a search result or an external source.

Systematic enumeration

enumerate_persons is designed for bulk directory traversal. Supply a common name word — first names like "john" or "priya", surnames like "patel" or "williams" — and page through up to 1000 results per name. Because the 1000-record cap means some names return partial sets, the status field distinguishes complete (all matches returned) from capped (results truncated). Deduplicating across calls by sra_number is necessary when a solicitor's name contains multiple common words.

Reliability & maintenanceVerified

The Org API is a managed, monitored endpoint for sra.org.uk — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sra.org.uk changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official sra.org.uk API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Verify a solicitor's authorisation status and regulator before instructing them on a matter
  • Build a searchable UK solicitor directory for a legal services platform using name-word search
  • Cross-reference sra_number values against internal CRM records to confirm regulated status
  • Enumerate the SRA register systematically by surname to build a research dataset of practising solicitors
  • Retrieve regulatory_record data to flag solicitors with disciplinary history in compliance checks
  • Populate firm or individual profiles with type_of_lawyer and workplace fields from live register data
  • Monitor changes to a specific solicitor's authorisation status by polling get_person_detail on a schedule
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the SRA provide an official developer API for the register?+
The SRA does not publish a documented public developer API for the solicitors register. The public-facing register is available at sra.org.uk/consumers/register as a search interface intended for consumers.
What does `get_person_detail` return beyond what appears in search results?+
search_persons and enumerate_persons return full_name, sra_number, profile_url, status, and workplace. get_person_detail adds authorisation details, type_of_lawyer, regulator, and regulatory_record — the fields most relevant for compliance verification.
What happens when a surname search returns more than 1000 results?+
The SRA caps result sets at 1000 records. When this happens, capped_at_1000 is true and status in enumerate_persons is capped. The total_matching field still reflects the full count the SRA reports, so you can see the gap between what was fetched and what exists. For very common surnames, combining the surname query with a first-name word in separate calls and deduplicating by sra_number is the recommended approach.
Does the API cover SRA-regulated law firms or organisations, not just individuals?+
The current API covers individual solicitor records only. Firm and organisation entries from the SRA register are not included in the three endpoints. You can fork this API on Parse and revise it to add an endpoint covering regulated firm records.
Can I filter search results by authorisation status, type of lawyer, or location?+
The search_persons and enumerate_persons endpoints do not accept filter parameters beyond the name-word query and pagination controls. Filtering by status, type_of_lawyer, or geography must be applied client-side after retrieving results. You can fork this API on Parse and revise it to add server-side filtering if the source supports it.
Page content last updated . Spec covers 3 endpoints from sra.org.uk.
Related APIs in Government PublicSee all →
service.asic.gov.au API
Search and retrieve comprehensive information about Australian financial professionals and entities, including AFS and credit licensees, their representatives, liquidators, auditors, and managed investment schemes. Verify credentials, check regulatory status, and access detailed profiles of financial service providers registered with ASIC.
lawyers.com API
Search and discover lawyers and law firms with detailed profiles, client reviews, and practice area information. Find legal articles and featured firms by specialty to help you locate the right legal representation for your needs.
gassaferegister.co.uk API
Search for Gas Safe registered businesses and engineers across the UK by city or postcode, then retrieve detailed information about their qualifications and services. Find certified gas engineers in your area and verify their registration status to ensure safe, compliant work on your gas appliances.
insolvencydirect.bis.gov.uk API
Search and retrieve detailed information about UK individual insolvency records, including bankruptcies, Individual Voluntary Arrangements (IVAs), Debt Relief Orders (DROs), and bankruptcy restrictions for individuals and sole traders in England and Wales. Access comprehensive insolvency data to verify financial history and legal status of individuals.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
companieshouse.gov.uk API
Search for UK companies and officers, then access detailed information including company profiles, filing history, charges, and officers with significant control. Get comprehensive corporate records and appointment details all in one place.
bailii.org API
Search and retrieve court judgments and case law from British and Irish courts across multiple jurisdictions, with filtering by date range and location. Access complete case details including full judgment text and metadata to research legal precedents and decisions.
avvo.com API
Search for attorneys by location and specialty to find detailed professional profiles, reviews, and practice areas that match your legal needs. Browse community-driven legal Q&A to get answers to common legal questions and learn from other users' experiences.