Setting a Starting or Ending Date

Note: The information in this topic applies to Lexis® URL API users. This application programming interface (API) lets users execute tasks in Lexis® using URLs, rather than the standard user interface. Please contact your LexisNexis representative if you would like additional information about this feature.

Use this URL to restrict your search to a specific starting or ending date. For example, use a startdate parameter of 01/01/2000 to indicate that you want to search content starting with January 1, 2000. Use the enddate parameter to indicate that you only want to search content that is older than the date you specify.

URL Template

http://advance.lexis.com/api/search?{search-terms}&{collection}&{startdate|enddate}

Example:http://advance.lexis.com/api/search?q=burden%20of%20proof&collection=cases&startdate=1985-10-25
ValueDescription
searchIndicates the user wants to run a search and view the results.
{search-terms}

Query parameter that contains the search syntax. Use %20 in the URL to replace spaces between words in the search string.

Example:q=breach%20of%20contract
{collection}

Query parameter that specifies the content type (Optional).

Example:collection=cases

For a list of values that can be used with the collection parameter, see Search in a Specific Content Type.

{startdate}

Query parameter that specifies the starting date for the content to be searched (Optional). Only content starting with this date will be searched.

Example:startdate=1985-10-25
{enddate}

Query parameter that specifies the ending date for the content to be searched (Optional). Only content for this date and older will be searched.

Example:startdate=1985-10-25

Supported date formats:

startdate=1985-10-25
Full date
startdate=1985
Year
startdate=5y
Past number of years
startdate=6m
Past number of months
startdate=30d
Past number of days
enddate=1985-10-25
Full date
enddate=1985
Year
enddate=5y
Past number of years
enddate=6m
Past number of months
enddate=30d
Past number of days

Copyright © 2026  LexisNexis.  All rights reserved.